The 80/20 of auth: what I learned shipping Cognito PKCE flows twice
PKCE is 80% of a secure SPA login in an afternoon. The other 20% — token storage, Cognito's opinions, and a brutal race condition where the verifier got wiped before the callback page even mounted — is where the time actually goes. The specific bugs, with the fix.
Shane Burke