I’m pretty new to Auth0 so trying to make my way around the docs but can’t seem to understand a few things. Hoping that someone can help me out. I have an API I am trying to connect to Auth0. I have managed to get an example working of a Login on the front end that sends the token to the backend API. The backend in on Node and I can validate the JWT Token using middleware. So far so good.
My question now is how would I actually use the user information on the backend using this validated token? I’ve thought about somehow sending it from the front end app but I think this wouldn’t be such a great idea security wise.
Hi John,
Thanks for the help. So there is not real problem sending the user id in the access token?
Could you please point me in the direction of an example or even better the docs.
I’ve been trying to work through the docs but getting very confused.
Appreciate the help and patience
Hilton