Problem statement
Multiple threads in the Auth0 community indicate it is not possible to change the default mapping of the user’s user_id field to sub in the ID Token.
Can you confirm whether this restriction still applies to the latest release of the Auth0 private instance?
Solution
As per the current design, this is not possible. We suggest you write your use case to our Product Team at
However, you could add a required custom claim to id-token using actions. Please see the link below: