IAM Identity Center – Google Workspace doesn't work as identity source


I set everything up following this guide. When I try to login using AWS access portal URL the following happens

  1. I get redirected to Google
  2. I select my account (that I have manually added as a user)
  3. I get an error:

Something went wrong Looks like this code isn't right. Please try again.

Any pointers are much appreciated

asked 2 years ago3600 views
2 Answers

Hi! I was struggling with the same problem. For me, I had to ensure that the username of the user was the same as the email of the user in the google admin panel. My user was named 'jane' instead of 'jane@example.com', which caused SSO to fail, despite that user's email being jane@example.com

answered 2 years ago

Did you check the CloudTrail logs to check if you see any errors related to "ExternalIdPDirectoryLogin"

answered 2 years ago
  • i have the same problem as this person and havent been able to find any errors containing "ExternalIdPDirectoryLogin" in cloudtrail logs

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions