I figured out what I was doing wrong. I was following this guide on how to use auth0 with vue.js and django, and with that implementation, I only had access to the access_token on the server, while all interesting user data is in the id_token.
I still have some questions as to what’s the best practice on how to use the information in the id_token. At the moment, I’m just decoding it on the front end, but what if I need to know the user’s email, for example, on the server. How should I retrieve it, since all I have at the moment is the user’s sub?
I’m sure from the questions it’s obvious I’m new to this, so thanks for any help.