Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIP Cognito: Don't get stuck on the username #56

Open
awyork opened this issue Aug 21, 2023 · 0 comments
Open

TIP Cognito: Don't get stuck on the username #56

awyork opened this issue Aug 21, 2023 · 0 comments

Comments

@awyork
Copy link

awyork commented Aug 21, 2023

Cognito will send back a GUID in the User Name (Sub) field, so you might want to setup your provider as below:

{ name: 'Amazon Cognito', issuer: https://cognito-idp.us-east-1.amazonaws.com/us-east-1_XXXXXXX, clientId: xxxxxxxxxxxxxx, clientSecret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, usernameClaim: cognito:username },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant