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
asked 12 days ago61 views
1 Answer
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
answered 9 hours ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions