DEV Community

Cover image for AWS Cognito ( Facebook log ). Why token doesn't have an email?
Jackson Kasi
Jackson Kasi Subscriber

Posted on

AWS Cognito ( Facebook log ). Why token doesn't have an email?

I tried google and Facebook login using AWS Cognito & Amplify.

Google login works fine.

But when I log in to Facebook, if I decode the token that comes, I don't get the email only.

But I think I did everything right.

Please help me if you have an answer to my question!

Thanks

Code:

Image description

Cognito:

Image description

response:

Image description

Top comments (0)