Cognito user pool Unexpected Behaviour

0

I had an interesting experience with AWS Cognito User Pools. It typically registers unique email IDs to identify users, and if you attempt to register with the same email, it throws an error indicating that the user already exists.

However, a friend and I simultaneously used the Auth.signup function with the same email but different passwords. Surprisingly, Cognito registered both users with the same email. When we tried to log in, it allowed access for my friend, who registered first, but I encountered an 'incorrect password' error.

I decided to delete my friend's entry from the user pool, thinking that I could now log in. To my surprise, Cognito considered my account non-existent.

This behavior is quite unexpected, and I'm unsure if it's a bug or an intended feature.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠