Cognito Generating UUID V7 instead of UUID V4

0

Cognito Generating for new users, UUID V7 instead of UUID V4, that is supposed to be default. I could not find where to change it in order to generate as UUID V4.

Demoar
已提問 25 天前檢視次數 74 次
1 個回答
0

Cognito is responsible for generating an arbitrary unique string for the sub for its user pool. You can't control (or make assumptions) about the format. From https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes

sub

The sub attribute is a unique user identifier within each user pool.

See also https://repost.aws/questions/QUfWN5qGq8R5WsocQaP1A9Dg/cognito-sub-attribute-seems-to-be-no-more-a-valid-uuid

profile pictureAWS
已回答 13 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南