Amazon Web Services (AWS) Cognito error "Token is not from a supported provider of this identity pool."

I had the wrong value for some reason to Cognito Console->Federated Identities->Edit identity pool->Cognito->App client id

I don't know how I got it wrong. I changed it to match the correct one of the Identity Pool.

This issue happens if your Federated Identity configuration is missing on your pool.

Open Federated Identities => Authentication providers

On the Cognito section change values as below

User Pool ID
ex: test:us-east-1_Ab129f000
App client id
ex: test:7lhlkkfbfb4q5kpp90urf000

That should be fix your issue