Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Bring your own identity provider securing ai agents with okta and cross app acce
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Bring your own identity provider: Securing AI agents with Okta and Cross App Access

Фото: Dan Nelson (Unsplash) — https://unsplash.com/photos/smartphone-with-security-lock-icon-ah-HeguOe9k?utm_source=dev48&utm_medium=referral

Source: Okta•December 5, 2026 at 02:09 AM

Bring your own identity provider: Securing AI agents with Okta and Cross App Access

Okta now accepts ID-JAG assertions from third-party IdPs that support Cross App Access. Verify external agents without migrating users or using static keys.

Agentic AI is redefining the "user session." An agent often acts for an employee across applications belonging to different teams and sometimes across different companies' identity systems. Cross App Access (XAA) is the open standard for this. The identity provider (IdP) vouches for who the employee is and which agent is acting on their behalf. The resource's authorization server decides whether to grant access.

Until now, Okta acted as the assertion issuer in that exchange. Most enterprises run multiple IdPs, which is why Okta now works with third-party identity providers. This post covers what changed, how it works, and the engineering decisions behind it.

The customer problem: Why securing AI agents across multiple identity providers is difficult

Real enterprise identity environments are messy. Teams face four recurring challenges when deploying AI agents across mixed stacks:

  • Acquisitions and partnerships: A newly acquired company has their own IdP, their own users, and their own agents. A full identity merge takes years, but the business wants those agents working with your applications this quarter.
  • Multiple identity stacks: Different business units standardized on different providers, each with a legitimate reason.
  • Agents are multiplying: Every team is building them, and each one needs to reach protected resources. Static API keys and per-agent service accounts don't scale and are hard to revoke.
  • Consent fatigue: If every agent-to-app connection triggers an approval prompt for the employee, people click through, and the consent stops meaning anything.

The trade-off was awkward: either consolidate on one IdP first, which is slow and often politically impossible, or build custom bridges and accept fragmented visibility. Security teams ended up with agents in several directories, several audit trails, and no single place to cut off access.

Example scenario

Task Vantage acquires Streamward. Streamward's employees sign in through an external IdP, and their teams have already built agents there. Task Vantage runs their applications and access policy in Okta. Merging the two identity systems will take years, but the business wants Streamward's agents working with Task Vantage's applications this quarter. The Task Vantage admin marks Streamward's IdP as trusted for agents, links the people who need access, and writes a policy that gives specific agents specific scopes. Streamward's agents get short-lived, scoped access, while Task Vantage security sees every request in a single audit trail.

How Okta works with third-party identity providers

Okta can now trust an ID-JAG (a short-lived identity assertion) issued by an external IdP, including generic OpenID Connect (OIDC) providers (such as Ping, Descope, and Oracle), other Okta orgs, and Okta Integration IdPs.

How the authentication flow works for an AI agent

  • Employee sign-in: The employee signs in once with their existing third-party IdP.
  • Token exchange: The agent exchanges the employee's token at that IdP for an ID-JAG, a short-lived assertion naming the employee, the agent, and the target authorization server.
  • Assertion presentation: The agent presents the assertion to the Okta authorization server protecting the target resource.
  • Verification and access: Okta verifies the assertion against the external IdP's published keys, matches the employee's Okta account, evaluates policy, and issues a scoped, short-lived access token for that specific resource.

The employee sees no per-agent consent prompt, and Okta logs both the employee and the acting agent.

How admins manage external IdPs in Okta

  • Define IdP scope: Mark an IdP as Cross App Access only (it issues agent assertions but never signs anyone in) or SSO and Cross App Access.

Define IdP scope: Mark an IdP as Cross App Access only (it issues agent assertions but never signs anyone in) or SSO and Cross App Access.

  • Link users once: Link employees to their IdP identity, so Okta knows which user an assertion refers to.
  • Enforce granular policy: Authorization server rules decide which agents get which scopes, and can also restrict a rule to specific IdPs; for example, "only assertions from the acquired company's IdP."
  • Centralize visibility and revocation: Agents from all connected IdPs appear in a single directory with a shared audit trail, plus a kill switch that blocks new access to Okta-protected resources.

Architecture and boundaries: How Okta secures external AI agent assertions

Accepting identity assertions from an external IdP is a trust decision, so we focused our design on setting clear boundaries. We built this capacity around the following security principles:

  • Trust is opt-in, never implicit: An IdP being configured in an org doesn't make Okta trust its assertions. An admin must explicitly enable it for Cross App Access. If the issuer is unknown, or matches more than one configured IdP, the request is rejected. Ambiguity fails closed.
  • An agent-only IdP can't become a login path: An IdP enabled only for Cross App Access is deliberately incapable of interactive sign-in, Just-In-Time (JIT) provisioning, account linking, or step-up. The configuration separation is enforced when the IdP is set up, not just in the Okta Admin Console, so a provider trusted to vouch for agents can't later be pointed at your workforce sign-in.
  • Verification stays the same; only the source of keys changes: Okta verifies the assertion’s signature the same way whether Okta or an external IdP issued it. The only difference is where Okta retrieves the public key: from the external IdP's published key set. If Okta can’t find a valid key, it rejects the request.
  • Identity is resolved, never created: Okta doesn't turn an incoming assertion into a new user. The employee identified by the assertion must already exist in Okta and be linked to that IdP. An unlinked or ambiguous subject is rejected. Provisioning stays under your control.
  • Assertions are narrow by construction: They are short-lived (five minutes at most), single-use, and bound to a specific agent and a specific authorization server. The agent must be a registered client in Okta, and the client named in the assertion must match the client making the request. Okta then issues its own scoped token, so the external IdP doesn’t decide what the agent can access. Okta policy does.
  • Policy evaluates the verified issuer: The IdP restriction in the access policy rules checks the issuer Okta cryptographically verified for this request. It does not look at the user's sign-in session, and it never takes client-supplied claims on trust. It applies only to the rules for this grant type, so it can't be used to broaden trust elsewhere.

How to set up Cross App Access with an external IdP

Connect your existing IdPs to Okta without migrating users, managing second credentials, or sacrificing central visibility. This capability is Generally Available for Okta for AI Agents and Agent SSO customers (federating with another Okta org requires only the SSO feature).

Prerequisites and current limitations

Before you start, make sure your environment meets these requirements:

  • Supported IdPs: An OIDC-based IdP (or another Okta org) that supports Cross App Access and issues ID-JAGs. Non-OIDC IdPs aren’t currently supported.
  • Authorization server: A custom authorization server configured with the scopes the agent will request (the org authorization server isn’t supported).
  • Agent registration: The agent registered as an app in your Okta org with the JSON Web Token Bearer grant type enabled
  • User accounts: Pre-existing employees in your Okta org who are already linked to the external IdP (auto-provisioning isn’t supported).
  • Licensing: An active Okta for AI Agents subscription (for third-party OIDC providers) or the SSO feature (for another Okta org).

Next steps

Ready to federate your existing IdP? Follow our step-by-step developer guide to configure Cross App Access with an external IdP.

Want to see how Okta for AI Agents brings all your agents into a single control plane with complete audit trails and a rapid kill switch? Download the datasheet: Okta for AI Agents: Securely manage your AI agents from a single control plane.

← All articles

What this article says

More in Cybersecurity

All →
Roblox Infostealer: How Malicious Extensions Put AI Accounts and Personal Data at Risk
Check Point

Roblox Infostealer: How Malicious Extensions Put AI Accounts and Personal Data at Risk

Sumo Logic Data Pipelines: Process and normalize data before storage • Sumo Logic
Sumo Logic

Sumo Logic Data Pipelines: Process and normalize data before storage • Sumo Logic

Step one of post-quantum cryptography migration is knowing what you're running
Sysdig

Step one of post-quantum cryptography migration is knowing what you're running

How Okta secured our workforce against phishing: Our five-phase rollout
Okta

How Okta secured our workforce against phishing: Our five-phase rollout

How Can Aqua Assist Help You Find Product Guidance and Open Support Cases?
Aqua Security

How Can Aqua Assist Help You Find Product Guidance and Open Support Cases?

Checkmarx Named a Leader for the 8th Time in the 2026 Gartner® Magic Quadrant™ for Application Security Testing
Checkmarx

Checkmarx Named a Leader for the 8th Time in the 2026 Gartner® Magic Quadrant™ for Application Security Testing

More from Okta

How Okta secured our workforce against phishing: Our five-phase rollout
Okta

How Okta secured our workforce against phishing: Our five-phase rollout

Agentic AI readiness is identity readiness
Okta

Agentic AI readiness is identity readiness

What is Zero Trust security?
Okta

What is Zero Trust security?

Why public sector Zero Trust requires continuous identity beyond SSO and MFA
Okta

Why public sector Zero Trust requires continuous identity beyond SSO and MFA

Built for scale: Okta Workflows Dedicated Infrastructure now Generally Available
Okta

Built for scale: Okta Workflows Dedicated Infrastructure now Generally Available

How to integrate Okta with Amazon Bedrock AgentCore: Five use cases
Okta

How to integrate Okta with Amazon Bedrock AgentCore: Five use cases