amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
423 stars 232 forks source link

Google login and Facebook login update email attribute #73

Open cenxui opened 6 years ago

cenxui commented 6 years ago

When google or Facebook login again with cognito login server, it throws error

user attributes:email: Attribute cannot be updated&state=hwtQRRQAvECzM1zum8yUAn7QO2Y60HSY.

Seems that the login server will update the mail attribute when the user login. It should not be updated after user sign up.