Repository navigation
Conversation
Add an additional option to only print the authorization URL and not open it directly in the standard browser. Especially useful if another browser or an incognito tab need to be used.
|
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
|
Review pending, not stale |
|
This PR was marked as stale after 14 days of inactivity and will be closed after another 14 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
|
Hi, any update on this? |
| p.Info("Open the following URL in your browser:\n\n") | ||
| p.Info("%s\n\n", authorizationURL) |
There was a problem hiding this comment.
| p.Info("Open the following URL in your browser:\n\n") | |
| p.Info("%s\n\n", authorizationURL) | |
| p.Noticeln("Open the following URL in your browser:\n") | |
| p.Outputf("%s\n\n", authorizationURL) |
p.Info only prints to StdErr for verosities: debug and info -> stackit auth login --no-browser-open --verbosity error would not print the URL. The suggestion always prints URL.
The p.Noticeln is new, you'll need to merge main into your branch as soon as #1675 is merged
|
Hi @niri81, |
Description
Add an additional option to only print the authorization URL and not open it directly in the standard browser. Especially useful if another browser or an incognito tab need to be used to sign-in with different accounts and bypass automatic SSO login.
Checklist
make fmtmake generate-docs(will be checked by CI)make test(will be checked by CI)make lint(will be checked by CI)