Help with Vue + Django for backend to retrieve user_info from access token

I integrated Auth0 with my Vuejs + Django application using

So I will access Django through rest_framework API using the Auth0 access_token. I also need to pass the user’s email_address to Django to retrieve a filtered queryset. However, for security reasons I would like to avoid passing the email_address in the API get request.

I want to ask if it is possible for Django to get the user email_address directly from Auth0 using the Auth0 access_token?

Appreciate the help!

Hi @caisho,

Welcome to the Community! I apologize for the delayed response.

You can get the user profile with an access token via the user info endpoint.

Let me know if you have further questions!