-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V2] Overriding/Suppressing default browser for 'configure sso' #4715
Comments
At the very least, a configuration option to opt-out of auto-opening the browser make sense to me. Marking as a feature request. |
I also would be interested in something similar or even a wait for 5/10 seconds or hit any key to continue type of thing. Or an option/knob to let me handle the loading of the browser and keying in the code. Right now, my CLI web browser launches ( The Python webbrowser is finding There's a env BROWSER knob to control the behaviour: Setting BROWSER did stop
I was able to get it to fire up the browser I wanted and it worked as expected:
|
For WSL you can use |
To save someone some time, here's what I did.
and in Windows I have another Powershell script (aws-login.ps1) in the PATH
|
I believe aws sso login now has the
|
Thank you, with --no-browser this is now solved. |
|
Any idea how we do it in MacOS @eyadmba ? Tried |
Check the previous response |
Your BROWSER path must be completed (until exec file) I've created an alias for google chrome |
When using AWS CLIv2 and configuring sso (MacOS), the default browser is opened and the verification code is used. my browser is signed to the IdP with another user, and the process fails because my user is not assigned to the AWS SSO application.
I want an option to override opening the default browser, and either specify a browser application or suppress automatically opening the browser altogether.
The text was updated successfully, but these errors were encountered: