Skip to content

Print the login URL during stackit auth login #1026

@JorTurFer

Description

@JorTurFer

Problem description

Currently I'm working with multiple browsers managing different sessions and my STACKIT account is only on one of them. When I execute stackit auth login the cli opens a browser depending on the last used, which not always is the right one.

When this happens, I have to cancel the command, change the browser and then, trigger the command again.

Proposed solution

If the cli prints the url in addition to open the browser, I can copy the url and use it on the browser I want, improving the UX (at least I think so).
I'm NOT proposing to change the current behaviour of opening the browser but extending it with the authorize url printed by the console (there isn't any secret there as the cli client is public, so it's safe)

Additional information

Other console tools like gcloud also apply this:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions