Is Cognito pool user sub attribute globally unique?

0

I'd like to know whether the sub attribute is globally unique across all user pools. Thanks

질문됨 일 년 전980회 조회
2개 답변
0

I tried in past with common sub and it didn't allow me to do so , i can say sub is a globally unique identifier, across pools . Basically when creating a user , Cognito will assign a generated unique IDs (the sub attribute). This attribute cannot be changed and in case you import users from another pool/backup it will change. Just on side-note sub risks data loss and can make it difficult to migrate or recover a userpool. Since sub is globally unique, any restored user data will have new sub values. It will mean re-keying your app database with the new sub keys, whereas if you had used username you could restore your pool as expected.

답변함 일 년 전
0

Sub is globally unique in the whole Cognito User Pool ecosystem.

AWS
답변함 일 년 전

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

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

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

관련 콘텐츠