how to use jwt to obtain the info of the currently logged in user?
I’m working on a web app using vuejs and asp.net. I’m trying to sign in a custom identity user and send back a token back to the client to user to get all the info of the current logged in user, but when i send the request to fetch the info i’m always unauthorized.
below are the program.cs, the custom identity user and the controller for the custom identity user and the client side to send the request to fetch the info: