Cognito idpresponse: error_description=username+attribute+mapping+required&error=invalid_request

0

I have added two very similar OIDC id provider to cognito user pool with cdk. Why is the <domain>.<region>.amazoncognito.com/oauth2/idpresponse giving error_description=username+attribute+mapping+required&error=invalid_request ?

I have successfully added two OIDC and one SAML id provider. username is not one of the attributes you can add - it's provided by default.

1 個回答
0

Maybe is something int he configuration of the setting or the register the URL pool Domain. Usually the third party sends the response and ID token.

For instance with Okta we have this example https://repost.aws/knowledge-center/cognito-okta-oidc-identity-provider

For more information can you take a look of https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-idp.html we have the process for OIDC providers as Salesforce, Okta, Microsoft Azure an so on

AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南