OAuth 2.0 and OpenID Connect
A photo printing app asks for your cloud photos password, so it can fetch your holiday pictures. Handing it over gives the app everything in your account, until you change the password. How do apps get just what they need instead?
In this lesson you'll learn to
- Explain the problem OAuth solves, and name its four roles.
- Walk through the authorization code flow with PKCE, step by step.
- Use access tokens, refresh tokens and scopes safely, keeping them narrow and short-lived.
- Tell OAuth (access) apart from OpenID Connect (identity), and pick the right grant for users and for services.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.