Patterns 0/12

Lesson 8 of 12

Authentication and authorization

Store passwords safely, compare sessions with signed tokens, run the OAuth code flow with PKCE, and pick role, attribute or relationship-based access.

2,729 words · 13 min read Ultra Premium Useful background: API design, How the web works

In this lesson

  1. Who and what
  2. Storing passwords
  3. Multi-factor and passkeys
  4. Sessions and tokens
  5. Revoke a credential
  6. OAuth and OpenID Connect
  7. RBAC, ABAC and ReBAC
  8. Service to service
  9. What stays true
  10. Choices and costs
  11. Common mistakes
  12. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure