`aws configure sso`: "Authorization failed. Invalid code." in the browser

0

I continue trying to meticulously follow the docs to get AWS CLI working. However aws configure sso won't work, as when I enter the code it provides - it is never valid.

Enter image description here

Enter image description here

Any ideas?

2回答
0

You should be logged in to the correct email account when you do this. Do you use a company VPN to connect to your email account?

profile picture
回答済み 10ヶ月前
  • No, no VPNs. I opened the incognito session in Chrome, logged in using my portal link and Identity Center user that I created. It has both Administrator and PowerUser permissons assigned.

0

Try to check which one is your default browser. If you are executing command in your local system but AWS console can be opened in any restricted environment like Citrix/AVD, in that case generated code will redirect to your default browser in your local system only. In such scenario, if you copy generated URL in restricted environment, then it will not work.

iamAni
回答済み 10ヶ月前
  • I'm logged in in an incognito Chorme session using Identity Center user credentials with Administrator/PowerUser permissons. There I open a new tab and paste the link aws provided. This should work, right?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ