← Agent Authentication

STS Token Exchange

An AI agent should not reuse the user’s token. Okta acts as a Security Token Service (STS): the agent exchanges what it holds for a token scoped to one resource. The first three tabs show Okta’s own OAuth STS flows for third-party apps and MCP servers, taken from Okta’s April 2026 deck. The remaining tabs are deep-dives on the general token exchange standard (RFC 8693). Every step carries a label that says where its content comes from. The sequence diagram and the architecture diagram each play on their own controls, the tiles on the right follow whichever one you used last, and coloured chips name the token type each message carries.

Okta Deck (Apr 2026)From Okta’s use-case deck RFC 8693Standard behaviour; not confirmed for Okta AWS DocsFrom the AWS API reference Partly ConfirmedSome details are inferred IllustrativeMade up to show the idea

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.

Resource Connection Types (Okta Deck, April 2026)
Resource ConnectionWhat It GrantsWorks WithReturnedUser Context
Authorization ServerAccess to resources protected by an Okta custom authorization serverApps supporting Cross App AccessAccess token (ephemeral, with a TTL)Yes (sub + act.sub)
SecretA static credential vaulted in Okta Privileged AccessLegacy systemsThe secret, in any formatNo
Service AccountA static credential for an app defined in Universal Directory, vaulted in Okta Privileged AccessSaaS apps with static credentialsUsername and passwordNo
ApplicationOAuth access to a custom or third-party resource serverApps supporting OAuth STS with consentAccess token (ephemeral)Yes (user-consented)
MCP ServerAccess to resources protected by a custom or third-party MCP serverMCP servers, through OAuth STSAccess token (ephemeral)Yes (user-consented)
Source: Okta Deck (Apr 2026), Resource Connections Summary. Okta is renaming “Managed Connections” to “Resource Connections”, so older screenshots may use the old name.

Every technical term used in the diagrams and tiles on this page. Okta terms link to developer.okta.com where a page covers them. Terms from Okta’s April 2026 deck are labeled as such, and standards link to the RFC.

Access Policy Okta Concept
A rule set on an authorization server that decides who may get tokens, for which scopes. If no rule matches the user and scope, the exchange fails with access denied.Used in: Exchange DeniedReference: API Access Management
Access Token Token
A credential presented to a Resource Server as a Bearer token. Its audience names the API and its scopes list what it allows.Used in every tabReference: OAuth 2.0 and OpenID Connect Overview
access_denied Error
The request was refused, for example by a policy or by the user. The deck does not name the exact error for a refused exchange, so the Exchange Denied tab shows this as the likely form.Used in: Exchange DeniedReference: RFC 6749 section 4.1.2.1
act (Actor) Claim Claim
A claim whose sub identifies the party currently acting for the user. Earlier actors in a chain are nested under act.act, and Okta limits a chain to five actors.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Resource Connection Types TableReference: Set Up OAuth 2.0 On-Behalf-Of Token Exchange
actor_token Parameter
A token that identifies the acting party, here the agent. When it is present, actor_token_type is required.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Exchange DeniedReference: RFC 8693 section 2.1
actor_token_type Parameter
A URN that says what kind of token the actor_token is.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: RFC 8693 section 2.1
Agent-to-Agent Okta Concept
A Resource Connection type where one AI agent calls another agent as a downstream resource protected by an Okta custom authorization server. The original identity is carried across both agents through token exchange.Used in: Chained ExchangeReference: Set Up AI Agent Token Exchange
AI Agent Okta Concept
A workload identity in Okta that represents an agent as its own principal. It has its own credentials, its Resource Connections and, through token exchange, acts for a signed-in user.Used in every tabReference: Set Up AI Agent Token Exchange
alg (Algorithm) Claim
A header field that names the signature algorithm. The sample tokens on this page use RS256.Used in every tabReference: RFC 7515 section 4.1.1
amr (Authentication Methods) Claim
Lists how the user authenticated, for example password and MFA. It is carried in the ID token.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STSReference: OpenID Connect Core 1.0
app.oauth2.as.token.grant Okta Concept
The System Log event type recorded for a request to a custom authorization server’s token endpoint, successful or not.Used in: Exchange DeniedReference: Event Types
AssumeRoleWithWebIdentity AWS
The AWS STS operation that exchanges an OIDC token for temporary AWS credentials. It is an AWS Query API call, not an OAuth request.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
aud (Audience) Claim Claim
Which Resource Server the token is for. An API should reject a token whose aud is not its own.Used in every tabReference: RFC 7519 section 4.1.3
audience Parameter
The logical name of the service the new token is meant for. The exchanged token is accepted only by a Resource Server that matches it.Used in every tabReference: RFC 8693 section 2.1.1
Authorization Code Token
A short-lived, single-use value the third party gives Okta after the user consents. Okta redeems it at the third party’s token endpoint.Used in: Brokered Consent: First Use (Interaction Required), MCP Server via OAuth STSReference: RFC 6749 section 4.1
Authorization Server Role
The server that authenticates the Client, evaluates policy and issues tokens. Okta has an org authorization server and custom authorization servers; token exchange at a custom server is addressed with its own issuer.Used in every tabReference: Authorization Servers
AWS Signature Version 4 (SigV4) AWS
The scheme AWS uses to sign API requests with the temporary credentials, shown in the Authorization header of the S3 call.Used in: Exchange for AWS CredentialsReference: AWS Signature Version 4 signing process
AWS STS AWS
Amazon’s Security Token Service, a separate service from Okta’s. It exchanges a trusted token for short-lived AWS credentials.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
Bearer Token Token
A token that works for anyone who holds it. It is sent in the Authorization header as "Bearer" followed by the token, and only over HTTPS.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: OAuth 2.0 and OpenID Connect Overview
Brokered Consent Okta Concept
The user approves access at a third-party app once. Okta then keeps the refresh token and hands the agent only short-lived access tokens.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Exchange Denied, Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Cached Access Token Okta Concept
An unexpired access token Okta already holds for the user and third party. A request is answered from the cache without contacting the third party again.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached TokenReference: Source: Okta Deck (Apr 2026)
Chained Exchange Okta Concept
A sequence of exchanges where each hop narrows the audience and scope, so the final API sees the user and every agent that acted.Used in: Chained ExchangeReference: Set Up OAuth 2.0 On-Behalf-Of Token Exchange
cid (Client ID) Claim
In Okta access tokens, the client ID of the app the token was issued to.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Exchange DeniedReference: Customize Tokens Returned From Okta
Client Role
The application that asks for tokens. Here it is the AI agent, which authenticates to Okta with a signed JWT (private_key_jwt).Used in every tabReference: OAuth 2.0 and OpenID Connect Overview
Client Credentials Grant Grant
A request where the Client authenticates as itself, with no user. In the Delegation tab the agent uses it, with private_key_jwt, to get its own token.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: Implement Authorization by Grant Type
client_assertion Parameter
A JWT the Client signs with its private key to prove its identity to the Token Endpoint.Used in every tabReference: RFC 7523 section 2.2
client_assertion_type Parameter
Always urn:ietf:params:oauth:client-assertion-type:jwt-bearer when the Client authenticates with a signed JWT.Used in every tabReference: RFC 7523 section 2.2
client_secret Parameter
A secret the Client sends to prove its identity. Here it is Okta’s own secret at the third party (GitHub), not the agent’s.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached TokenReference: RFC 6749 section 2.3.1
ClientAuthType Okta Concept
A System Log field that records how the Client authenticated, for example private_key_jwt.Used in: Exchange DeniedReference: Source: Okta Deck (Apr 2026)
CloudTrail AWS
AWS’s audit log. It records the AssumeRoleWithWebIdentity call with the token’s subject, so actions trace back to a user.Used in: Exchange for AWS CredentialsReference: AWS CloudTrail
Cross App Access Okta Concept
Okta’s way of letting an app or agent reach another app for a user, approved by an administrator. It uses ID-JAG assertions and a second exchange at the resource app’s authorization server.Used in: Brokered Consent: First Use (Interaction Required), Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Custom Authorization Server Okta Concept
An authorization server you create in Okta, with its own issuer, signing key, scopes, claims and access policies. Token exchange for your own APIs happens here.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Exchange Denied, Resource Connection Types TableReference: Authorization Servers
Delegation Okta Concept
The agent keeps its own identity and acts for the user. Requested with a subject_token and an actor_token, and shown in the act claim.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: RFC 8693 section 1.1
Delegation Chain Limit Okta Concept
Okta documents a limit of five actors in one chain of act claims.Used in: Chained ExchangeReference: Set Up OAuth 2.0 On-Behalf-Of Token Exchange
Down-Scoped Token Okta Concept
A token with a narrower audience or scope than the one it was exchanged from, and often a shorter lifetime.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange DeniedReference: RFC 8693 section 2.1.1
DurationSeconds AWS
How long the temporary credentials last.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
End-User Role
The person using the application. In the delegation tabs the access token’s sub claim identifies this user.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Chained ExchangeReference: OAuth 2.0 and OpenID Connect Overview
Ephemeral Token Okta Concept
A short-lived token. Resource Connections that return access tokens are described as ephemeral, so a leaked token stops working soon.Used in: Brokered Consent: First Use (Interaction Required), Resource Connection Types TableReference: Source: Okta Deck (Apr 2026)
Error Response Error
A failed token request returns HTTP 400 with an error code and error_description. The code tells the Client what kind of recovery, if any, to try.Used in: Brokered Consent: First Use (Interaction Required), Exchange DeniedReference: RFC 6749 section 5.2
error_description Parameter
Human-readable text that accompanies an error code in a failed token response.Used in: Brokered Consent: First Use (Interaction Required), Exchange DeniedReference: RFC 6749 section 5.2
Exchange Policy Okta Concept
The checks Okta runs on a token exchange: whether the subject token is valid, whether the agent may exchange tokens, and whether the audience and scope are allowed. A failed check ends in an error.Used in: Delegation, Chained ExchangeReference: Term used on this page; Okta applies it through the authorization server's access policy
exp (Expiration) Claim
The time after which the token must not be accepted.Used in every tabReference: RFC 7519 section 4.1.4
expires_in Parameter
How many seconds the issued token is valid for.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: RFC 6749 section 5.1
Fail Closed Okta Concept
On any exchange error the agent stops instead of trying something broader. It never falls back to the user’s own token.Used in: Exchange DeniedReference: Term used on this page
grant_type Parameter
Tells the Token Endpoint which kind of request this is. Token exchange uses urn:ietf:params:oauth:grant-type:token-exchange.Used in every tabReference: RFC 8693 section 2.1
GrantedScopes / RequestedScopes Okta Concept
System Log fields in a token request event. RequestedScopes is what the Client asked for; GrantedScopes is what Okta issued, and is blank when nothing was issued.Used in: Exchange DeniedReference: Source: Okta Deck (Apr 2026)
GrantType (System Log) Okta Concept
A System Log field that records which grant the request used, for example token-exchange.Used in: Exchange DeniedReference: Source: Okta Deck (Apr 2026)
IAM OIDC Provider AWS
An AWS object that tells IAM to trust tokens issued by a particular OpenID Connect provider, here Okta.Used in: Exchange for AWS CredentialsReference: AWS: OIDC Federation
IAM Permissions Policy AWS
The policy on the assumed role that decides which AWS actions are allowed, for example s3:ListBucket.Used in: Exchange for AWS CredentialsReference: AWS: IAM Roles
iat (Issued At) Claim
The time the token was issued.Used in every tabReference: RFC 7519 section 4.1.6
ID Token Token
An OpenID Connect token that says which user signed in. The agent presents it to Okta as the subject token; it is not sent to APIs.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Exchange for AWS CredentialsReference: OAuth 2.0 and OpenID Connect Overview
Impersonation Okta Concept
The agent receives the user’s rights and is indistinguishable from the user. Requested with only a subject_token.Used in: Impersonation vs. DelegationReference: RFC 8693 section 1.1
interaction_required Error
Okta returns this error when the user has to act first, for example to consent at a third party. The response includes where to send them.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Exchange DeniedReference: Source: Okta Deck (Apr 2026)
interaction_uri Parameter
The link in an interaction_required response where the user completes sign-in or consent.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached TokenReference: Source: Okta Deck (Apr 2026)
invalid_grant Error
The grant, such as a subject token, is invalid, expired or revoked.Used in: Exchange DeniedReference: RFC 6749 section 5.2
invalid_request Error
The request is missing a parameter or is malformed.Used in: Exchange DeniedReference: RFC 6749 section 5.2
invalid_scope Error
The requested scope is invalid, unknown, malformed or not allowed.Used in: Exchange DeniedReference: RFC 6749 section 5.2
invalid_target Error
The requested audience or resource is not one the Client may get a token for.Used in: Exchange DeniedReference: RFC 8707 section 2
issued_token_type Parameter
Returned in the response: the kind of token Okta actually issued, as a URN.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: RFC 8693 section 2.2.1
Issuer (iss) Okta Concept
The URL that names an authorization server and appears in the tokens it signs. For a custom server it is https://{org}/oauth2/{authorizationServerId}.Used in every tabReference: Authorization Servers
JSON-RPC Standard
The message format MCP uses. The MCP tab shows an initialize call and a tools/call request.Used in: MCP Server via OAuth STSReference: Model Context Protocol: Introduction
jti (Token ID) Claim
A unique identifier for the token. Authorization servers can use it to spot replay of a client assertion.Used in every tabReference: RFC 7519 section 4.1.7
JWKS Endpoint
The set of public keys an authorization server publishes so that anyone can verify the signatures on its tokens.Used in: Delegation, Chained Exchange, Exchange for AWS CredentialsReference: Validate Access Tokens
JWT (JSON Web Token) Standard
A signed token format with a header, a payload of claims and a signature. Okta access and ID tokens are JWTs.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Exchange for AWS CredentialsReference: Validate Access Tokens
kid (Key ID) Claim
A header field that says which key in the JWKS verifies this token.Used in every tabReference: RFC 7515 section 4.1.4
Managed Connections (Renamed) Okta Concept
The earlier name for Resource Connections. Older screenshots and notes may still use it.Used in: Resource Connection Types TableReference: Source: Okta Deck (Apr 2026)
may_act (Authorized Actor) Claim Claim
A claim in the subject token that names the only party allowed to act for the user. If it is present, the actor must match it.Used in: Delegation, Chained ExchangeReference: RFC 8693 section 4.4
MCP (Model Context Protocol) Standard
An open protocol that lets AI applications call tools and data sources exposed by MCP servers.Used in: MCP Server via OAuth STS, Resource Connection Types TableReference: Model Context Protocol: Introduction
MCP Server Role
A server that exposes tools to agents over MCP. In the MCP tab, Okta defines it in Universal Directory and maps it to the agent as a Resource Connection.Used in: MCP Server via OAuth STS, Resource Connection Types TableReference: Model Context Protocol: Introduction
no_matching_policy Error
The reason Okta records in the System Log when no Access Policy rule matches the user, client and scope, so no token is issued.Used in: Exchange DeniedReference: Source: Okta Deck (Apr 2026)
OAuth STS Okta Concept
Okta’s token exchange for third-party apps and MCP servers. The request asks for urn:okta:params:oauth:token-type:oauth-sts and Okta brokers the third party’s tokens.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Resource Connection Types TableReference: Source: Okta Deck (Apr 2026)
OpenID Connect (OIDC) Standard
An identity layer on top of OAuth 2.0 that adds the ID token. The agent’s user signs in with it before any exchange.Used in: MCP Server via OAuth STS, Exchange for AWS CredentialsReference: OAuth 2.0 and OpenID Connect Overview
Orchestrator Agent Role
In the chained exchange, the first agent. It receives the user’s request and exchanges the user’s token for one it can pass on to the sub-agent.Used in: Chained ExchangeReference: Illustrative role used in the Chained Exchange tab
Org Authorization Server Okta Concept
The authorization server built into every Okta org. It issues tokens for Okta’s own APIs; custom authorization servers issue tokens for yours.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STSReference: Authorization Servers
outcome.result / outcome.reason Okta Concept
System Log fields that say whether an event succeeded (SUCCESS or FAILURE) and why.Used in: Exchange DeniedReference: Okta System Log API event object, as shown in this page's sample event
Pairwise Subject Identifier Claim
An OpenID Connect term for a user identifier that differs for each client. This page uses it loosely for the opaque Okta user ID used as sub, instead of an email address, because AWS writes sub to CloudTrail.Used in: Exchange for AWS CredentialsReference: OpenID Connect Core section 8
PKCE Standard
Proof Key for Code Exchange. It binds an authorization code to the app that asked for it. The MCP tab refers to the normal sign-in that uses it.Used in: MCP Server via OAuth STSReference: OAuth 2.0 and OpenID Connect Overview
private_key_jwt Okta Concept
A client authentication method where the Client signs a JWT with its private key instead of sending a secret.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Exchange DeniedReference: Implement OAuth for Okta With a Service App
redirect_uri Parameter
Where the third party sends the user (with the authorization code) after consent. It must exactly match a registered value.Used in: Brokered Consent: First Use (Interaction Required)Reference: RFC 6749 section 3.1.2
Refresh Token Token
A credential used to get new access tokens without asking the user again. In OAuth STS Okta stores it and the agent never sees it.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached TokenReference: Refresh Access Tokens and Rotate Refresh Tokens
Refresh Token Rotation Okta Concept
Replaces a refresh token with a new one so that a stolen token is useful once. Whether Okta returns a new refresh token with a new access token depends on the refresh token lifetime setting, and Okta can detect reuse of an old token. In OAuth STS, Okta keeps the rotated token for the agent.Used in: Brokered Consent: Refresh and Cached TokenReference: Refresh Access Tokens and Rotate Refresh Tokens
requested_token_type Parameter
What the Client asks to receive. For OAuth STS Okta uses urn:okta:params:oauth:token-type:oauth-sts.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, DelegationReference: RFC 8693 section 2.1
resource Parameter
The URI of the service the new token is meant for. In OAuth STS requests it has to match a Resource Connection (Okta Deck, Apr 2026).Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Exchange DeniedReference: RFC 8707 section 2
Resource Connection Okta Concept
A setting on an AI agent that says which resource it may reach, how it authenticates and what it receives back. Types are Authorization Server, Secret, Service Account, Application and MCP Server.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Resource Connection Type: Application Okta Concept
OAuth access to a custom or third-party resource server, with the user’s one-time consent brokered by Okta. Returns an ephemeral access token.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached TokenReference: Set Up AI Agent Token Exchange
Resource Connection Type: Authorization Server Okta Concept
Grants the agent access to resources protected by an Okta custom authorization server, using Cross App Access. Returns an ephemeral access token that carries the user and the agent.Used in: Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Resource Connection Type: MCP Server Okta Concept
Access to an MCP server, through OAuth STS and the user’s consent. Returns an ephemeral access token.Used in: MCP Server via OAuth STS, Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Resource Connection Type: Secret Okta Concept
A static credential for a downstream resource, vaulted in Okta Privileged Access. Returned as the secret itself, in any format.Used in: Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Resource Connection Type: Service Account Okta Concept
A static credential for an app defined in Universal Directory, vaulted in Okta Privileged Access. Returned as a user name and password.Used in: Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Resource Owner Role
The person who can grant access to their own data. On this page it is the End-User on whose behalf the agent acts.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Chained ExchangeReference: RFC 6749 section 1.1
Resource Server Role
The API that accepts access tokens and enforces their audience and scopes. In the chain examples it is the downstream Tickets API or the MCP server.Used in: MCP Server via OAuth STS, Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: Validate Access Tokens
response_type Parameter
Tells the authorization endpoint which response is wanted. code means an authorization code.Used in: Brokered Consent: First Use (Interaction Required)Reference: RFC 6749 section 3.1.1
Role Trust Policy AWS
The part of an IAM role that says who may assume it, for example tokens with a specific aud and sub from the Okta provider.Used in: Exchange for AWS CredentialsReference: AWS: IAM Roles
RoleArn AWS
The identifier of the IAM role the caller wants to assume.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
RoleSessionName AWS
A name for the assumed-role session. AWS records it in CloudTrail to trace actions to a caller.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
scope Parameter
The permissions the token carries. An exchange can narrow the scope of the subject token but not widen it.Used in every tabReference: OAuth 2.0 and OpenID Connect Overview
scp (Scopes) Claim Claim
The list of scopes in an Okta access token.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Exchange DeniedReference: Customize Tokens Returned From Okta
Security Token Service (STS) Okta Concept
An authorization server endpoint that issues tokens in exchange for other tokens. Okta plays this role at its Token Endpoint. AWS STS is a separate service with its own API.Used in every tabReference: RFC 8693 section 1
sub (Subject) Claim
Who the token is about. In a delegated token it is the user, and the agent appears in the act claim.Used in every tabReference: RFC 7519 section 4.1.2
Sub-Agent Role
In the chained exchange, an agent called by another agent. Each hop narrows the audience and scope and adds another act entry.Used in: Chained ExchangeReference: Illustrative role used in the Chained Exchange tab
subject_token Parameter
The token that represents the party on whose behalf the request is made, usually the user’s access or ID token. Always sent with subject_token_type.Used in every tabReference: RFC 8693 section 2.1
subject_token_type Parameter
A URN that says what kind of token the subject_token is, for example urn:ietf:params:oauth:token-type:access_token or :id_token.Used in every tabReference: RFC 8693 section 2.1
System Log Okta Concept
Okta’s record of events in an org. A failed token exchange appears here with its outcome, reason and scopes.Used in: Exchange DeniedReference: Event Types
Temporary Credentials AWS
An access key ID, secret access key and session token that AWS STS returns. They expire and are used to sign AWS API calls.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity
Third-Party Authorization Server Role
The authorization server of an outside app such as GitHub. In OAuth STS, Okta redirects the user there once for consent and then stores the resulting refresh token.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, Resource Connection Types TableReference: Set Up AI Agent Token Exchange
Token Endpoint Endpoint
The authorization server endpoint (/v1/token) where the Client sends grant requests and receives tokens. Token exchange requests go here.Used in every tabReference: OpenID Connect and OAuth 2.0 API Overview
Token Exchange Grant
The grant type urn:ietf:params:oauth:grant-type:token-exchange. The Client presents one security token and receives a different one, with a new audience, scope or form.Used in every tabReference: Set Up OAuth 2.0 On-Behalf-Of Token Exchange
Token Passthrough Okta Concept
Forwarding the user’s own token to a downstream API instead of exchanging it. The Exchange Denied tab shows the agent failing closed rather than falling back to this.Used in: Exchange DeniedReference: Term used on this page
token_type Parameter
In token responses, Bearer for the access tokens on this page.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STS, Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS CredentialsReference: RFC 6749 section 5.1
uid (User ID) Claim
In Okta access tokens, the Okta ID of the user the token was issued for.Used in: Delegation, Impersonation vs. Delegation, Chained Exchange, Exchange for AWS Credentials, Exchange DeniedReference: Customize Tokens Returned From Okta
unauthorized_client Error
The Client is not allowed to use this kind of request, for example it may not exchange tokens.Used in: Exchange DeniedReference: RFC 6749 section 5.2
Universal Directory Okta Concept
Okta’s central store of users, groups and other identities. AI agents are registered here as objects and linked to their sign-on application and connections.Used in: MCP Server via OAuth STS, Resource Connection Types TableReference: Universal Directory
User Sign-On Application Okta Concept
The Okta application users sign in to in order to reach an agent. It was previously called a Linked Application, and its ID token is what the agent exchanges.Used in: Brokered Consent: First Use (Interaction Required), Brokered Consent: Refresh and Cached Token, MCP Server via OAuth STSReference: Source: Okta Deck (Apr 2026)
WebIdentityToken AWS
The parameter that carries the Okta-issued JWT in the AssumeRoleWithWebIdentity call.Used in: Exchange for AWS CredentialsReference: AWS: AssumeRoleWithWebIdentity

All hostnames, client IDs, tokens, keys and AWS values are made-up samples, and the signature segment of each encoded token is a placeholder. Okta Deck (Apr 2026): labels with this name come from Okta’s “Okta for AI Agents” use-case deck, which is a snapshot of the April 2026 general-availability release. Names, screens and behaviour may have changed since, so verify against Okta’s current documentation. The deck confirms the OAuth STS request and response fields, the three cases (no stored refresh token, expired access token, cached access token), the Resource Connection types, MCP servers as Resource Connections, and that an exchange fails when no Access Policy rule covers the user and scope. What it does not cover: the HTTP status of interaction_required, the exact error code for a policy refusal, how the third-party redirect URL is built, and any use of actor_token or may_act. Those parts follow RFC 6749, RFC 8693 or are illustrative, and are labelled that way on each step. RFC 8693: Okta’s on-behalf-of guide documents the token-exchange grant, subject_token, audience, scope, issued_token_type and an act claim on the result (earlier actors nested, up to five). Chain depth, lifetimes and narrowing rules in the Chained Exchange tab are a design, not a statement of Okta limits. AWS: AssumeRoleWithWebIdentity parameters and the response shape follow the AWS API reference. Whether an Okta access token is accepted depends on its iss and aud claims, and the trust-policy condition keys follow AWS’s OIDC examples, so verify both in your account.