JSON Web Token

A compact signed token made of three base64url parts separated by dots: a header, a payload of claims and a signature.

Trusting an unverified token lets anyone forge an identity.

In more detail

JWT stands for JSON Web Token. Anyone can decode the header and payload, so decoding proves nothing: a service must verify the signature with an allowed algorithm and a trusted key, then check expiry, issuer, audience and required claims before trusting anything in it.

Examples

In the APIs course: The course fault 08-unverified-jwt trusts the payload without checking the signature and accepts a forged token.
The course's workload identity tokens are usually of this kind.

Related terms

Taught in

References

Certification courses