mcueto / djangorestframework-auth0

Library to simply use Auth0 token authentication in DRF within djangorestframework-jwt
MIT License
91 stars 19 forks source link

How can I save the user profile? #39

Closed LeCoupa closed 5 years ago

LeCoupa commented 6 years ago

When the user is authenticated for the first time, it creates him.

pasted image at 2017_10_18 05_57 pm

But how can I also save the profile? I am sending the access_token but the profile information seems to be contained in the id_token.

Calion54 commented 6 years ago

Hi,

If the question is still relevant, you can use the api management v2 (https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id) which allows you to get full information about the users.