JSON Web Tokens (JWT)
Structure
Header
alg
= algorithm use- uses an agreed upon subset of crypto algorithms
kid
= key identifier i.e. which key to use from the JWKStyp
= type, usually "JWT"
Standard Claims
iss
= Issueraud
= Audience, e.g. the consuming siteiat
= "Issued at", in Unix Epoch Timeexp
= "Expired at", in Unix Epoch Timesub
= Subject, e.g. the ID of the current user- additional app-defined claims
References
- jwt.io
- JSON Web Token Claims in the
auth0
docs - List of registered claims on iana.org