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

Allowed OAuth Scopes #5

Open
marcschroeter opened this issue Oct 22, 2018 · 1 comment
Open

Allowed OAuth Scopes #5

marcschroeter opened this issue Oct 22, 2018 · 1 comment

Comments

@marcschroeter
Copy link

The values Cognito and profile are not working for OAuth Scopes

@juan-dambra
Copy link

Hi @marcschroeter!

I came across this as well. In fact I have just submitted a Pull Request to @rosberglinhares. Check it out!

AWS docs are wrong. If your are looking at:

https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPoolClient.html#CognitoUserPools-UpdateUserPoolClient-request-AllowedOAuthScopes

There it mentions the current supported values:

"phone", "email", "openid", and "Cognito"

But in reality, the current supported values are:

"phone", "email", "openid", "aws.cognito.signin.user.admin", "profile"

Your problem is using "Cognito" instead of "aws.cognito.signin.user.admin". Let me know if this helps you!

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

2 participants