1. How does OpenID Connect relate to OAuth 2.0?
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.
Response includes: access_token for API; id_token (JWT) for user identity