February 2020
Intermediate to advanced
404 pages
8h 42m
English
Everything we discussed in the preceding section was about passing a JWT token. In this section, we will see what a JWT looks like, and how it is generated. These are the high-level steps for generating a JWT:
A header is a simple JSON object. It looks like the following code snippet in Go:
{ "alg": "HS256", "typ": "JWT"}
HS256 is a short form for the algorithm (HMAC with SHA-256) that's used for creating a signature. The ...
Read now
Unlock full access