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 credential it carries.
Glossary of Terms
Every technical term used on this page, with the flow tabs where it appears.
Okta Documentation Used
- Authorization Servers
- Build a JWT for Client Authentication
- Error Codes
- Event Types
- Implement Authorization by Grant Type: Authorization Code with PKCE
- OAuth 2.0 and OpenID Connect Overview
- Set Up AI Agent Token Exchange
- Set Up AI Agent Token Exchange (Authorization Server)
- Set Up AI Agent Token Exchange (Secret)
- Submit an Integration With the OIN Wizard
- System Log API
- System Log Query
- Universal Directory
Okta Help Center Pages Used (Okta Privileged Access)
- Checkout (Okta Help)
- Okta Privileged Access (Okta Help)
- Okta Service Accounts (Okta Help)
- Secrets (Okta Help)
- Security Policy (Okta Help)
Standards Referenced
- RFC 6749: The OAuth 2.0 Authorization Framework
- RFC 7515: JSON Web Signature
- RFC 7518: JSON Web Algorithms
- RFC 7519: JSON Web Token
- RFC 7523: JWT Profile for OAuth 2.0 Client Authentication
- RFC 7636: Proof Key for Code Exchange
- RFC 8693: OAuth 2.0 Token Exchange
Definitions are written for this page and are not copied from the sources. Terms marked with a source note and no link come from Okta’s April 2026 O4AA deck or from this page’s own illustrative samples, and may not appear in public documentation. Verify against current Okta documentation before relying on them.
Source and date. The flows, token types, event names and the points about authorization, rotation and System Log events come from
Okta’s “O4AA Technical Use Cases” deck, an April 2026 snapshot for the general-availability release, marked Okta, Inc. Public. The request parameters for a
vaulted-secret exchange, the N_A token type, expires_in 300 and the note that /revoke does not apply come from Okta’s AI agent token exchange guide for
the Secret type. Product behavior can change, so verify against current Okta documentation before using these flows with a customer.
Shown as illustrative. The request and response body for a service account (the deck gives the token type and says it returns a username and
password, but not the body), the error returned for a denied request, the layout of Resource Connection and record samples, the legacy API and database
behavior, and the System Log filter. All hostnames, IDs, keys, passwords and values are made up. The deck does not say how OPA credential access
appears in the System Log outside the token exchange, so this page does not describe it.