Problem Statement
How does OpenID Connect relate to OAuth 2.0?
Explanation
OAuth 2.0 is for authorization to protected resources using access tokens. OpenID Connect layers authentication on top and issues an I D token describing the user. Many providers implement both together for login plus API access. This difference is a frequent interview test.
Code Solution
SolutionRead Only
Response includes: access_token for API; id_token (JWT) for user identity
