`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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠