Amplify-js: New Error: Token is not from a supported provider of this identity pool

Created on 7 Nov 2018  路  4Comments  路  Source: aws-amplify/amplify-js

Been using Amplify without any trouble the past several days. No changes were made to the configuration (customized Amplify configuration, not using the default config file), but all of a sudden now seeing the error "Token is not from a supported provider of this identity pool". Triple checked all IDs, LoginKey, and verified the SignIn process works. Amplify appears to be working fine, other than this issue.

Not sure how to troubleshoot from here. Please help?

Cognito investigating

Most helpful comment

@JasonLunsford - When you look at the identity pool via the Cognito Console -> Manage Identity Pools -> Edit Identity Pool -> Authorization Providers, do you see the user pool info in the Cognito tab?

Also, are you using any third party providers such as Facebook or Google?

All 4 comments

This could be an issue with the configured client IDs in your Cognito Identity Pool not matching up with the app ID in the Cognito User Pool.

@JasonLunsford - When you look at the identity pool via the Cognito Console -> Manage Identity Pools -> Edit Identity Pool -> Authorization Providers, do you see the user pool info in the Cognito tab?

Also, are you using any third party providers such as Facebook or Google?

@haverchuck - Looks like I was wrong to suggest everyone on my end was squared away. Inspired by your comment I took a really careful look at the Authorization Provider tab and noticed we have the wrong Client ID's (and in one case the wrong User Pool ID) associated. I'll update these values and see if the error messages go away.

@haverchuck - that was it! Wrong Client and User Pool IDs associated with the Identity Pool. Thank you very much for the help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DougWoodCDS picture DougWoodCDS  路  3Comments

shinnapatthesix picture shinnapatthesix  路  3Comments

cosmosof picture cosmosof  路  3Comments

oste picture oste  路  3Comments

cgarvis picture cgarvis  路  3Comments