New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default social provider buttons don’t work with basic setup #4269
Comments
Hi, @sammartinez (CC: @YahngSungho ) I got the same issue with a super simple code. I did not change code mostly in this sample. And I only use the Cognito Hosted UI as Social Provider. I did debug the problem. Do you have some wonder about package dependencies?
I can implement OAuth flow manually, But of course, it's better to simpler implementation. I'm happy if this issue will be handled as fast as possible. |
@YahngSungho @haruharuharuby Can you adjust your code to use
That should work out-of-the-box with the least amount of custom code to validate that federated sign-in works & is configured correctly. (I want to confirm that @YahngSungho & @haruharuharuby are experiencing the same thing) You're doing the correct thing by signing in with Hosted UI first to validate your config (this URL can be found via |
@ericclemmons (CC: @YahngSungho ) I could resolve it myself in my case. I compared UserPool and Cognito Idp configuration between existing one and newly deployed one which published by calling "amplify add auth". It may fix if @YahngSungho's configuration is the same. |
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
also in console:
NotAuthorizedException: Token is not from a supported provider of this identity pool.
But ‘Sign in with AWS’ seems to work.
One thing to consider is that I mistyped the information to the federated prop. That's the only difference I can think of. But I'm sure they're right.
I don't know if it's relevant, but one more weird thing is that Authenticator Comp doesn't work either. To be clear, it only show ‘Loading...’ And if I hide loading, It doesn't show anything. So I use only withAuthenticator HOC.
(But Authenticator Comp doesn't work too when I don't provide federated prop, so it might be another problem)
So basically my code is this:
I think there is nothing special in my code. I just did a basic setup. Maybe something wrong with the amplify installation or configuration, but I don't know where to look.
Also I don't know if it's relevant, it's my
aws-export.js
Desktop (please complete the following information):
Amplify context
The text was updated successfully, but these errors were encountered: