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 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前