DEV Community

Discussion on: Adding Facebook Sign In for Web Applications with AWS Amplify

Collapse
 
ale_annini profile image
Alessandro Annini

Hi Nader,
thanks for another super-useful video!
I was trying the same thing but with google + facebook signin, but after the login I have this error:

But I had to add this step:
In Cognito Identity Pool Edit identity pool --> Authentication Providers I added Facebook and Google+ keys because it was not working without.

In the end, after the login, when I try to use Auth.currentAuthenticatedUser();
I got this error

[DEBUG] 17:44.296 AuthClass - Failed to get user from user pool
[DEBUG] 17:44.297 AuthClass - Failed to get the current user No current user

more on this in this issue