Apple Signing Token is not from a supported provider of this identity pool.
See original GitHub issueDescribe the bug I can’t signing with federated using https://github.com/invertase/react-native-apple-authentication In the provider I tested with SignInWithApple or appleid.apple.com
Code Snippet await Auth.federatedSignIn(‘appleid.apple.com’, {token: data.identityToken, expires_at: null})
Screenshots If applicable, add screenshots to help explain your problem.
What is Configured? If applicable, please provide what is configured for Amplify CLI:
Auth: {
identityPoolId: 'us-east-1:59cf7619-1bf8-4dc0-xxxx-xxx',
region: 'us-east-1',
storage: MemoryStorageNew,
userPoolId: 'us-east-1_xxxx,
userPoolWebClientId: ''
}
Smartphone (please complete the following information):
- Device: iPhone11
- OS: 13.4
Additional context Add any other context about the problem here.
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = ‘DEBUG’; in your app.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:47 (19 by maintainers)
Top Results From Across the Web
Cognito Login With Amazon "Token is not from a supported ...
" NotAuthorizedException: Token is not from a supported provider of this identity pool." This issue usually occurs if the app client used for...
Read more >Using DynamoDB With Cognito: Token is not from a supported ...
That exception is usually thrown if you've given Cognito a login but have not enabled your identity pool to consume that login provider....
Read more >Sign in with Apple (identity pools) - Amazon Cognito
Amazon Cognito integrates with Sign in with Apple to provide federated authentication for your mobile application and web application users.
Read more >Amazon Web Services (Aws) Cognito Error "Token Is Not ...
0<wbr>), которая говорит: "Token is not from a supported provider of this identity pool. Sign In With Apple not working with Xcode 12...
Read more >Identity pools (federated identities) authentication flow
The identity ID is then used with the same identity provider token in a ... Additionally, if your identity pool does not have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mezalejandro After looking a bit further, there seem to be 2 options for you to integrate “Sign In With Apple” in your app.
The first is using the OAuth Hosted UI, where the user will be taken to a browser to authenticate. In this case, you don’t need to use that 3rd party library to get the Apple token, as Cognito will handle that behind the scenes. In this case, you can just use
Auth.federatedSignIn({provider: 'SignInWithApple'})
.The other option is using Identity Pool Federation, where you will have to manage all of the tokens via the client & the 3rd party library you’re currently using.
There are some intricacies with this approach, however. Here’s how I got a working example:
@TanviVartak Ah ok! I’ll look into it and respond in that other issue, as the original issue here is a slightly different use-case.