amazon-archives / amazon-cognito-js

Amazon Cognito Sync Manager for JavaScript
http://aws.amazon.com/cognito
Apache License 2.0
202 stars 83 forks source link

register user with same email #23

Closed GuerkanDemirci closed 8 years ago

GuerkanDemirci commented 8 years ago

Bug?

I can register two different users with identical email even so email is used as an alias.

kushwahavinay commented 8 years ago

I am assuming this question is related to the Cognito User pools feature. Alias gets created once a user account is confirmed. First account which gets confirmed will have the alias and if you try to confirm the next account it will throw an exception. You can find more details here: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-settings.html

You can create user pool related questions here: https://github.com/aws/amazon-cognito-identity-js/issues