-
Notifications
You must be signed in to change notification settings - Fork 820
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
[Feature] Ability to control SSO browser opening separately from --stdout
option
#1102
Comments
I having the same problem I was capturing the SSO login URL with So effectively PR #892 broke the logic since running aws-vault login -s with SSO profiles first gives you an authorization link for the device which opens default browser (usually default browser is one where you are most likely to be signed in with your SSO identity provider.) so you sign in and it gives you console URL and doesn't open up another tab in the default browser. You can capture the URL (due to -s flag) and use it in another browser like brave or vivaldi etc. |
Reverted in v6.6.2 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Stale not |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Use case: I have a helper script that opens a new Firefox container for each profile, thereby allowing multiple sessions at the same time.
This script uses the
-s
option to get the session URL and then pipes the output into thefirefox-container
script.However, I am not running the script from the terminal. It runs inside an Alfred Workflow, which does not print the output anywhere, so I cannot see the SSO login link.
This used to work fine in
<@6.6.1
, and it broke when #892 was introduced.In my use case opening the browser for SSO was necessary, and then all of the session URLs I wanted to go into STDOUT to be captured into a variable.
Here's my script:
It now breaks, because SSO login URL is piped into STDERR and is no longer opening the browser.
Relevant issues:
SSOUseStdout
should follow--stdout
#892The text was updated successfully, but these errors were encountered: