April 2020
Intermediate to advanced
716 pages
18h 55m
English
To be able to access the protected route, we will sign-in using the credentials of the user we created in the first example. To sign-in, a POST request is sent to /auth/signin with the email and password in the request body, as shown in the following screenshot:

On successful sign-in, the server returns a signed JWT and user details. We will need this token to access the protected route for fetching a single user.
Read now
Unlock full access