Auth workflow
Course: Authentication - chapter 3
The workflow for authentication usually looks as follows -

- The user comes to your website (courses.com)
- The user sends a request to
/signinwith theirusernameandpassword - The user gets back a
token - In every subsequent request, the user sends the token to identify it self to the backend.
💡
Think of the token like a secret that the server has given you. You send that secret back to the server in every request so that the server knows who you are.