User_id inconsistency

There seem to be two versions of ID: with the provider prepended and not. E.g. “auth0|12345” and just “12345”

  1. When I access /dbconnections/signup, the ID in the response I get is the not prepended version.

  2. In the management console, the user’s id is prepended.

  3. When I need to access the management API to get a user by id with https://{domain}/api/v2/users/{id}, I need to provide the prepended version.

  4. When I get a JWT, the sub is is the prepended version.

So, why the inconsistency? Why does the registration version give me the not prepended version when everything else seems to use the prepended version.

This has led to a bug for me, since after registration I access the user via the API. At this point in the flow, I have the not prepended version. So, in order to get the user I have to manually prepend “auth0|”. Luckily for me, I’m not using social login at the moment, but once I am, how will I know what to prepend to the ID to get the user via the API?

Hey there!

Not entirely sure about it but let me research that and get back to you soon!

And is there any response?