awesome-everything RU
↑ Back to the climb

Security

OAuth/OIDC: free-recall review

Crux Free-recall prompts across the OAuth/OIDC unit. Answer each in your own words first, then reveal the model answer and compare.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the mechanism stick. These are the explanations you would give in a design review.

Goal

Reconstruct the unit’s core mechanisms — PKCE binding, exact redirect matching, the id_token checks, JWKS rotation handling, refresh rotation, and sender-constrained tokens — without looking back at the lessons.

Recall before you leave
  1. 01
    What does PKCE prevent, and exactly how does the binding work end to end?
  2. 02
    Why does OAuth 2.1 require exact-match redirect URIs, and what attack does prefix matching enable?
  3. 03
    List the mandatory id_token checks and name the attack each one blocks.
  4. 04
    Explain JWKS cache staleness during key rotation and the on-cache-miss refresh pattern.
  5. 05
    How does refresh-token rotation turn a stolen refresh token from unlimited harm into a detection window?
  6. 06
    What makes a DPoP-bound token resist theft, and when would you choose mTLS instead?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: PKCE binds the code to its client, exact redirect matching keeps the code on-domain, the id_token checks (with a pinned algorithm) authenticate the user, on-cache-miss JWKS refresh survives key rotation, refresh rotation converts theft into a replay alarm, and DPoP or mTLS makes a stolen token unusable. OAuth security is a complete-set problem — every check, every time.

Continue the climb ↑OAuth/OIDC: code review
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.