Google SSO with AWS IAM Identity Center fails

0

Hi,

I've followed this (https://aws.amazon.com/blogs/security/how-to-use-g-suite-as-external-identity-provider-aws-sso/) instruction to get Google SSO working for AWS and eventually want to turn on auto provisioning of accounts; however im unable to login and get an error (it may be a bug?) that: Something went wrong, looks like this code isn't right. please try again. Enter image description here

Any help is appreciated as our organization isn't able to login.

  • Please accept the answer if it was useful for you

preguntada hace un año5184 visualizaciones
4 Respuestas
2

You can use a root IAM user to login to the account and check SSO user/group lists. I assume that lists are empty and AWS does not know anything about your users in Google.

Need to make sure that Google supports Cross-domain Identity Management (SCIM) for auto-provisioning. A couple of years ago it did not, so we had to replicate users from Google to AWS SSO manually.

profile picture
EXPERTO
respondido hace un año
profile picture
EXPERTO
Artem
revisado hace 2 meses
2

Hi I had the same problem after following the same blog post. It turns out that you have to use the email address as the username of the user when you are creating it! Hope it fixes your issue

Ghunti
respondido hace un año
1

This article https://docs.aws.amazon.com/singlesignon/latest/userguide/troubleshooting.html really helped me. The section containing "An Unexpected Error Occurred" Includes a list of things to check.

I had the ID format wrong and the Start URL should be left blank.

respondido hace 6 meses
0

Identity Center has doesn't work well with Google as an Identity Provider, because Google doesn't have a SCIM server. So checking that the user actually exists is a good first step.

If the user logging into Identity Center exists in the Identity Center user directory, I would look at the SAML assertion Google is sending. Make sure the NameID value of the SAML assertion sent by Google matches the username value of a user populated in Identity Center.

If the NameID value does match a user in Identity Center, I suggest opening a support ticket because there are a few things that could go wrong. But the NameID value not matching a user is the most common issue.

AWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas