thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Application & OT Security · Intermediate

JWT Claims Validation

Checking a JSON Web Token's standard claims, such as expiry, issuer and audience, in addition to its signature.

Definition

Servers must verify exp (expiration), nbf (not before), iss (issuer) and aud (audience) and reject tokens intended for other services. Skipping audience checks lets a token from one API be replayed against another.

Example

An API rejects an otherwise valid token because its aud claim names a different service.

Exam tip

A valid signature alone does not make a token valid for your API.

Related terms