Amazon-cognito-identity-js: Error: Invalid login token. Couldn't verify signed token

Created on 29 Jul 2016  路  13Comments  路  Source: amazon-archives/amazon-cognito-identity-js

My application login flow has been functioning fine for weeks and we are now receiving errors when we attempt to get AWS credentials with our cognito tokens.

{"__type":"NotAuthorizedException","message":"Invalid login token. Couldn't verify signed token."}

Has there been any changes in the APIs with a recent release?

Most helpful comment

Can you guys try again? We believe we have resolved the issue.

All 13 comments

Cognito User Pools went GA this afternoon, and what was supposed to be a seamless release has caused a few isolated incidents for which we're actively investigating the cause. Could you give me your user pool id so I can investigate further?

Experiencing the same issue since the update.
+1

Update:
Issue persists even when new User Pools and Idenitity Pools are created.

My user pool is us-east-1_4M3fYzvqD

Hi guys,

Very sorry for the troubles. We've identified the issue causing the Cognito Federated Identities integration with User Pools to stop working on some clients. I'll update here when it's been resolved.

Can you guys try again? We believe we have resolved the issue.

Yeah, works again for me. Thank you very much for being resolving it so promptly.

Excellent, happy to hear it! Sorry again for the troubles. If anyone else is having issues, comment here and we'll investigate further.

It's back up!

Confirmed on my end as well.

@jbailey2010 do you me to leave this open or would you like me to close the issue?

If you guys aren't having issues, I'm happy to close.

i am also getting same error

Hey,
I am getting the same error now, This has been working fine for me all the time, Just since today, when i try to call this
Method - cognitoCredentialsProvider.refresh(); to get the Congito Identity.

Its is results in firing this exception -
"com.amazonaws.services.cognitoidentity.model.NotAuthorizedException: Invalid login token. Couldn't verify signed token. (Service: AmazonCognitoIdentity; Status Code: 400; Error Code: NotAuthorizedException; Request ID: a7db46b8-ad94-11e7-8418-c94b0b6898a1)"

Can anyone comment on this,
Please let me know if i am missing something here/ or want some more info from me.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings