PKCE
Proof Key for Code Exchange — OAuth extension (RFC 7636, 2015) that protects the authorization-code flow for public clients (mobile apps, SPAs). Eliminates the need for a client_secret that can't be kept secret in the client anyway.
Flow: the client generates a code_verifier (random 43-128 chars), computes code_challenge = SHA256(verifier), and sends the challenge with the authorization request. At token exchange the verifier is sent — the server checks that SHA256(verifier) = challenge from the first step. Protects against stolen authorization codes (attacker can't redeem without the verifier). OAuth 2.1 (draft) requires PKCE for ALL clients, not just public ones. AWS Cognito, Auth0, Okta require PKCE for SPA flows.