October 2018
Beginner to intermediate
478 pages
10h 8m
English
One of the most used authentication mechanisms is a token-based authentication system. With this technique, each time the user logs in, a token is generated and sent back in the response. The token is a hashed and signed value that can later be validated by the server to ensure its authenticity. After the client receives the token, it sends it back with each request (as a header), and the server will extract the user details from the token (if it's valid). Using tokens gives you a few benefits:
Read now
Unlock full access