Auth0 user_id no longer contains a valid UUID?

Today I noticed that a new user did not have an Auth0 user id containing a valid UUID.
Previously, Auth0 user ids looked like auth0|XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, but this new one I encountered looks like auth0|XXXXXXXXXXXXXXXXXXXXXXXX.

This change broke our service’s ID validation logic. Should these IDs be treated as opaque objects with no specified formatting or should we update our logic to whatever this new ID format is?

Hi @authereal,

Welcome to the Auth0 Community!

In regards to the format, the user_id follows the {identity provider id}|{unique id in the provider} format as described in our Identify Users docs.

Given that, I recommend that you alter your logic to adhere to this schema to consider them as valid UUID.

Please let me know if you have any further questions. I’d be happy to help.

Thank you.