System Design · Middle · Question 16 of 75

How does OpenID Connect differ from OAuth 2.0?

Explanation

OAuth 2.0 is a protocol for delegating access to resources ("let this app read my calendar"); it doesn't say who the user is. OIDC, built on top of it, standardizes sign-in: ID token (JWT), userinfo, discovery. "Sign in with Google" is OIDC.

Further reading

Problem with a question

System Design · Middle · question 16

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz