0

I just start working with node app. For authentification I use JWT. So I have a question, how correctly work with it on UI and Backend side.

For example I get token, save it on session storage and then I send request for some collection for current user. The question is - Does it need to store user name also in request or I can understand what user send request by token?

Lyntik22
  • 23
  • 6

1 Answers1

1

Google is your friend - there are lots of tutorials online about this, e.g.

Simon H
  • 20,332
  • 14
  • 71
  • 128