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

質問済み 1年前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.

回答済み 1年前
0

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

AWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ