Cognito - Sub attribute seems to be no more a valid Uuid

0

Until now, I was thinking the generated value for the sub attribute of congito user was a valid UUID (typically v4).

But the users I've generated for my tests (I also generated new user pools for my tests), the sub always value contains a 7 as the first digit of the third group ex: 62e51434-50a1-7070-842a-82a33ec1174f 62e53484-a0a1-70c7-4c6b-c90380fc8519

Is the cognito user sub attribute a valid UUID ?

preguntada hace un año1240 visualizaciones
2 Respuestas
0

Hi, version 7 is a new uuid format.

See https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7

UUID version 7 features a time-ordered value field derived from the widely implemented and 
well known Unix Epoch timestamp source, the number of milliseconds seconds since midnight 
1 Jan 1970 UTC, leap seconds excluded. As well as improved entropy characteristics over 
versions 1 or 6.
profile pictureAWS
EXPERTO
respondido hace un año
  • Version 7 seems to be still in a draft stage.

0

Finally, I didn't manage to get a new pool that generate Uuid v7. It seems the issue was limited in time. Maybe a problem shadow solved by AWS team ;)

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas