Claims live on a timeline
02Expiration and not-before define a token’s permitted time interval when these claims are present.
At time 160 the expiration check fails, absent a configured clock-skew allowance.
Key idea: Accept at or after nbf, and strictly before exp.
Rules & examples
Accept at or after nbf, and strictly before exp.
- exp and nbf use NumericDate: seconds since the Unix epoch, ignoring leap seconds.
- iat records issuance time; it does not itself define an expiration.
- Small leeway for clock skew is permitted; an application must define its policy.
The examples simplify the wire representation. Follow the linked specification and application profile for implementation.
Sources
New to this? Start hereA quick picture + helpful background
A key is different from permission.
An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.