Sequence
Who sends what, in order. This diagram has its own controls and timer.
Architecture
The same flow drawn as components, with its own controls and timer. It loops on its own clock, separate from the sequence diagram. Step numbers match the sequence diagram; a moving dot shows the current message, and chips name the token it carries.
Every technical term used on this page, with a plain-English meaning and where it appears. Links go to developer.okta.com unless noted.
Okta Documentation Used
All hostnames, client IDs, secrets, tokens and keys are made up; the signature segment of each encoded token is a placeholder. Statements labelled Okta Docs were checked against pages on developer.okta.com (named in each step) when this page was written, and Okta's documentation changes, so verify against the current pages before relying on them. Not confirmed in the documentation I read, so shown as Illustrative: the exact 400/401 response body for a request whose scope the policy rejects (the error-code reference lists the codes and descriptions, but not a client credentials example); the sample access token payload for a client credentials request (the guides show the response, not the decoded token, so claim names such as cid and scp are taken from the DPoP guide's decoded token and may differ); which of the custom claim value expressions are evaluated when there is no user; the Management API request bodies for policies, rules and scopes (only the application, secret and grant endpoints named in the guides are shown); and the Resource Server's step order. DPoP is an option for service apps, not a requirement stated for custom authorization servers; the Okta management API guide I read did not mention it, and the DPoP guide says to follow its Okta-resource steps for Okta APIs.