Order the steps
Order the authorization code + PKCE flow.
- App redirects the user to /authorize with the challenge and state
- Server returns access and refresh tokens
- Server redirects back with a short-lived code
- App POSTs the code and verifier to /token
- App creates a random verifier and its SHA-256 challenge
Choose an answer, then open Show answer below to check it.
Show answer
Answer: E A C D B
- App creates a random verifier and its SHA-256 challenge The verifier stays in the app.
- App redirects the user to /authorize with the challenge and state User signs in at the authorization server.
- Server redirects back with a short-lived code App checks state.
- App POSTs the code and verifier to /token Server hashes the verifier and compares.
- Server returns access and refresh tokens Over the back channel, never in the URL.