Skip to main content
PProfileMatch
← Path

JWT Authentication · JWT Security: Expiry, Revocation and the Mistakes to Avoid

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Conference hall: three badge scanners

Trick to keep in mind+3 XP

iss = who minted it, aud = who may accept it, exp = until when.

When several services trust the same issuer and the same key, a valid signature and a future expiry say nothing about which service the token was made for. Only the audience claim names the intended recipient, and each service must insist that its own name is there. Issuer matters when you accept tokens from more than one provider.

Read it once, then a question tests whether the trick stuck.