Skip to content
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

Console launch --logout-first fails on first command #66

Open
nomeelnoj opened this issue May 23, 2022 · 1 comment
Open

Console launch --logout-first fails on first command #66

nomeelnoj opened this issue May 23, 2022 · 1 comment

Comments

@nomeelnoj
Copy link

First, thanks for this tool! It makes shortcuts into the various AWS consoles MUCH better!

I have setup shortcuts / aliases for all the accounts I regularly log into, and they look like this:

aws-sso-util console launch --sso-start-url https://<my url> --sso-region us-east-1 --account-id <my account id> --role-name <my role> --region us-east-1 --logout-first

I have also tried it with the environment variable, but the same is true.

However, the first time i run this (if I am already logged into another account), it takes me to the "you have to logout first" page. If I then run it again, it works, but it always fails the first time.

Thanks!

@nomeelnoj
Copy link
Author

It also appears that every time it DOES work, my browser opens up a second tab to this page: https://aws.amazon.com/premiumsupport/knowledge-center/sign-out-account/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant