amazon-archives / cognito-sample-nodejs

Amazon Cognito Sample App for Node.js
Apache License 2.0
124 stars 38 forks source link

Error on AWS.config.credentials.get() #1

Open binoculars opened 9 years ago

binoculars commented 9 years ago
        Logins: {
            'www.amazon.com': req.user.token
        }

Details from the console log:

NotAuthorizedException: Token is not from a supported provider of this identity pool.
binoculars commented 9 years ago

I got Amazon and Facebook working with help from this thread in the AWS Forums. Google looks to be a lot more of a challenge. Could you update this example to provide Facebook and Google logins?

riponbanik commented 6 years ago

@binoculars please make sure to use APP ID (not client ID) of the application created with Amazon.

Shinehah-Gnolaum commented 5 years ago

@riponbanik I have the same problem. I've made sure I'm using the app id. Are there any other causes to this error?