var res = await Cognito.federatedSignIn('accounts.google.com', token.idToken);
and I receive error "Token is not from a supported provider of this identity pool" but I've checked my user pool>Identity provider and identity pool>authentication provider both are configured.
May I know what might be the reason that I'm getting this error?
Do I need to add google info into the awsconfiguration.json as well?If yes can anyone please show me the sample. Thanks!
Below are the awsconfiguration.json sample I'm using
Hi,
I'm using this code
var res = await Cognito.federatedSignIn('accounts.google.com', token.idToken);
and I receive error "Token is not from a supported provider of this identity pool" but I've checked my user pool>Identity provider and identity pool>authentication provider both are configured.
May I know what might be the reason that I'm getting this error? Do I need to add google info into the awsconfiguration.json as well?If yes can anyone please show me the sample. Thanks! Below are the awsconfiguration.json sample I'm using