Learn: OAuth 2.0 vs OpenID Connect
OAuth 2.0 is about access: it lets an app call an API for the user, with an access token.
OpenID Connect (OIDC) adds login on top: an ID token that says who the user is.
The usual flow for web and mobile apps is the authorization code flow with PKCE: the user logs in at the identity provider, the app gets a code, and swaps it for tokens.
Short version: access token → for the API; ID token → for the app, to know who logged in.
Read more: https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols-oidc
#tip · TIP-093
OAuth 2.0 is about access: it lets an app call an API for the user, with an access token.
OpenID Connect (OIDC) adds login on top: an ID token that says who the user is.
The usual flow for web and mobile apps is the authorization code flow with PKCE: the user logs in at the identity provider, the app gets a code, and swaps it for tokens.
Short version: access token → for the API; ID token → for the app, to know who logged in.
Read more: https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols-oidc
#tip · TIP-093