Skip to content

--assume-yes flag does not skip interactive mode if session is expired #1084

Closed

Description

@j1n-o9r

Description

When using commands that require authentication like f.e. stackit mariadb plans -y the -y flag does not skip the interactive mode if the session is expired.

Steps to reproduce

  1. Wait till session is expired
  2. Run stackit mariadb plans -y

Actual behavior

Get printed Your session has expired, press Enter to login again... and CLI is waiting for user input.

Expected behavior

Unfortunately im unaware if and how to delete the session manually, so I have to wait for the expiration. But I'd expect something like this followed by the result of the executed stackit command:

Your browser has been opened to visit:

https://accounts.stackit.cloud/oauth/v2/authorize?client_id=...

Definitely I expect the CLI to open the browser without user input and return and not waiting for user input.

Environment

  • OS: macOS
  • Version of STACKIT CLI: 0.47.0

Activity

  1. Fyusel commented on Nov 13, 2025

    @Fyusel
    Contributor

    Hi @j1n-o9r,
    thank you for submitting this issue. We will have a look at it.

  2. cgoetz-inovex commented on Jan 14, 2026

    @cgoetz-inovex
    Contributor

    fixed in #1217
    @j1n-o9r, 0.51.0 should contain these changes, does this work as you'd expect?
    if not pls reopen this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions