OAuth 2.0 Authorization Code Flow & OpenID Connect – Complete Walkthrough

Опубликовано: 17 Май 2026
на канале: José Cruz (IT Architect)
1,089
15

Welcome! This video is a full breakdown of *OAuth 2.0’s most secure flow* — the *Authorization Code Flow* — along with the powerful identity layer that is **OpenID Connect (OIDC)**.

We take you step-by-step through how apps can securely get access to user data *without ever seeing passwords**, and how **OpenID Connect* enables secure identity management using the **ID Token**.

👨‍💻 Whether you're a backend engineer, security architect, or just diving into OAuth, this session will give you the *full picture* — with real HTTP examples, diagrams, a Python code snippet, and PKCE explained!

---

⏱️ Chapters / Timestamps

00:00 – Intro: What is Authorization & Why It Matters
02:50 – Delegation Without Password Sharing
04:21 – OAuth 2.0: Solving Secure Delegation
04:20 – Grant Types & Why Authorization Code Flow is Best
09:40 – Authorization Code Flow - Step By Step (HTTP Calls)
19:07 – Intro to OpenID Connect (OIDC)
20:33 – What is the ID Token?
22:34 – OpenID Connect Flow
28:04 – Challenges & Important Considerations
30:12 – Public Clients & PKCE
36:11 – Final Thoughts & Real-World Usage

---

📚 What You'll Learn

✅ The need for secure delegation
✅ Why Authorization Code Flow is preferred
✅ The role of OpenID Connect and ID Tokens
✅ How PKCE improves security for public clients
✅ How to make API requests using access tokens
✅ Best practices for token storage and CSRF protection
✅ Practical Python example of exchanging authorization codes for tokens

---

#OAuth2 #OpenIDConnect #IDToken #AuthorizationCodeFlow #SecureLogin #APIAuthentication #PKCE #AccessToken #JWT #AuthTutorial #BackendSecurity #OAuthExplained