How to obtain id_token

Hello,

i recently created this post, where i asked about accessing the access_token after following this auth0 django tutorial.

I can obtain the access token via

response.user.social_auth.get(provider=‘auth0’).extra_data[‘access_token’]

Now i need to get the id_token aswell. I can log it from the auth0backend.py, but i dont know how to store it and access it from a Django view.

What’s the use case for requiring the ID token? The ID token will mostly contains claims about the user (profile information) and if you’re following the Django quickstart you should be able to access that user information like shown here (Auth0 Django SDK Quickstarts: Login).