Hey guys Ive just started to use express and built a full-stack app while also using a third-party authentication app called auth0. I would like to get a jwt token when I login and then when I call a get request at savedInfo.js only the user’s info will come out, right now I have everyone’s info getting pulled from the api. The problem is I dont know how to use the jwt token to do this, I think i did the login then getting the jwt token correct but not sure about that too haha.
bump
if more info is needed plz tell me!
Here is my backend code: