Auth0 user info is not returning 'user_id' anymore

In Auth0ProfileParser, it’s expecting ‘user_id’ in the user info JSON. However, Auth0 is returning ‘sub’ instead as unique user identifier. The scope requested are “openid name email picture”.

Any suggestion in how to get around this? or have this fixed?


I have to implement my own set of MyAuth0Provider and MyAuth0ProfileParser based on the two defined in Auth0Provider.scala with the change of ‘user_id’ to ‘sub’. Then, in my dependency injection to construct my version for Auth0.

Would be great if you could provide a pull request!