Demystifying OAuth 2 and OIDC: Essential Guide
summary
Clear mapping of roles: resource owner, resource server and authorization server, and four client types (confidential, public, trusted, untrusted). Walkthrough of grant flows with exact endpoints: /authorize for codes and /token for exchanging code or getting client_credentials, including refresh token responses and token introspection calls. Explains why implicit is deprecated and PKCE uses a code challenge and verifier so public clients authenticate without a secret, and why OIDC adds JWT ID tokens with claims separate from access tokens.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:26OAuth 2.0 Overview
- 5:02OAuth 2.0 Resource Owner
- 9:00OAuth 2.0 Resource Server
- 10:17OAuth 2.0 Authorization Server
- 12:39OAuth 2.0 Client Types
- 14:55Client Credentials Grant
- 17:43Resource Owner Password Grant
- 18:40Authorization Code Grant
- 22:50PKCE (Proof Key for Code Exchange)
- 27:55OAuth 2.0 Security Considerations
- 29:54OpenID Connect (OIDC)
