Skip to content

OAuth 2.0 and OpenID Connect

Delegated access without sharing passwords: the authorisation code flow with PKCE step by step, which grant fits which client, and how an ID token differs from an access token.

30 min6 steps

By the end you can
  • Put the steps of the authorisation code flow with PKCE in order
  • Explain what PKCE prevents and where its strength comes from
  • Choose the OAuth grant for a given client type, and recognise deprecated grants
  • Distinguish an OpenID Connect ID token from an OAuth access token and use each correctly

Delegation without the password

OAuth 2.0 (RFC 6749) replaces sharing your password with a scoped, revocable token.

approves scopesaccess tokenphotos.readResource owneryouClientprinting siteAuthorisation serverissues tokensResource serverphoto API
The client never sees your password.

What does OAuth give the printing site instead of your password?

Answer this step to continue.