Security

Choosing an Identity Provider for a Small Team Using AI Agents

Antonio Evans10 min read

A split scene: on the left, a small team's laptop and phone show a lost-device alert and an MFA recovery prompt; on the right, a directory tree lists humans, contractors, and AI agents as separate branches.
Key points

Key points

  1. 1Compare identity providers on how they govern non-human identities, because agent credentials now outnumber human ones by wide margins in many organizations.
  2. 2Test MFA recovery end to end in a sandbox before signing, including whether session revocation happens automatically when a factor is replaced.
  3. 3Confirm that SCIM can create, scope, rotate and revoke agent identities through the same API surface used for people.
  4. 4Demand audit exports where agent actions land in one schema with user actions, with a retention window you can actually retrieve.

Start with the identity inventory, not the vendor shortlist

Most IdP comparisons begin with a feature grid: SAML, OIDC, MFA methods, pricing tiers. That grid was designed for a world where the directory holds people. If your team runs AI agents, contractors and full-time staff through one directory, the grid answers the wrong questions.

The reason is scale. Research summarized in the Cloud Security Alliance's Agent Identity Governance Framework found non-human identities outnumbering human identities by more than 90 to 1 in many organizations, with some reporting ratios as high as 144 to 1. The same framework cites survey data in which 92 percent of respondents said their legacy IAM tooling cannot manage AI and non-human identity risk, and only 28 percent could trace an agent action back to a human sponsor across all environments.

You do not need those exact ratios to act. You need your own counts. Before you evaluate a single vendor, build a table of every principal that will authenticate through the IdP:

Principal typeExampleCredentialOwnerLifetime
EmployeeEngineer on payrollPasskey plus PINManagerEmployment
ContractorAgency developer, 90 daysPasskey, device-boundSponsorContract term
Service accountNightly data sync jobClient credentialPlatform leadUntil retired
AI agent (standing)Support triage agentScoped OAuth clientProduct ownerUntil decommissioned
AI agent (ephemeral)Sub-agent spawned per taskShort-lived tokenParent agent's ownerMinutes to hours

The moment you write this down, the evaluation criteria change. A provider that handles the first two rows well and improvises on the last three is not a fit, no matter how good its login page looks.

SSO for humans versus sessions for agents

Single sign-on is a solved problem for people. The unsolved part is how a session or token gets issued to something that cannot tap a security key or read a push notification.

The distinction matters because the two identity types fail differently. A human session that lingers too long is a risk you can partially manage with reauthentication. An agent token that lingers too long is a standing privilege that keeps working at machine speed, unattended, across every system it can reach. The CSA framework describes the recommended pattern as just-in-time access: intent-declared, time-bound, scope-limited grants rather than standing agent privileges.

When you evaluate SSO, ask these questions in the sandbox:

  1. Can a non-interactive client obtain a token through a flow the IdP documents and supports, without a shared password stored in a config file?
  2. Can the token be scoped to a single downstream API and a short lifetime?
  3. Does the IdP record which human approved or owns that client?
  4. When the owner's account is disabled, does the agent's credential stop working automatically, or only after a manual step?

Question four is the one vendors dodge. A directory where disabling a person does not cascade to the credentials they sponsored is a directory with a hidden backdoor.

For the human side, the bar has risen. NIST's current guidance, SP 800-63B-4, supersedes the older 800-63B revision, which NIST now marks as withdrawn. If a vendor's compliance page still cites the withdrawn edition, that tells you something about how carefully the product tracks the standard it claims to meet. Microsoft's own guidance on authenticator assurance levels recommends meeting at least AAL2 with phishing resistance, and notes that AAL1 accepts password-only authentication, which it does not recommend.

Phishing resistance is now table stakes

The practical definition: a credential that cannot be relayed by an attacker who controls the login page. Passkeys built on FIDO2 satisfy this because the private key is bound to the origin and never leaves the authenticator. Microsoft's documentation on passkeys in Entra ID explains the mechanism: the service sends a challenge, the authenticator signs it with a private key tied to the site, and the user unlocks it with a biometric or PIN. The same page reports that across hundreds of millions of consumer Microsoft accounts, 99 percent of users successfully registered synced passkeys, and sign-in with a synced passkey took about 3 seconds versus 69 seconds for a password plus traditional MFA combination.

That second number is the interesting one for a small team. It means the secure option is also the fast option, so the usual objection ("users will find it annoying") no longer holds. The FIDO Alliance frames passkeys as replacing phishable factors such as SMS codes and passwords, while a plain-language FIDO2 overview notes the tradeoff you must plan for: device dependency. Lose the device and you need a recovery path.

The older NIST 800-63-3 implementation resources are still useful for understanding how the levels were constructed. They explain that assurance levels attach to sessions, not authenticators, because a strong authenticator used in a weak session still yields a weaker assurance level. That framing is exactly right for agent work: a hardware-backed human login means little if the agent acting on that person's behalf holds an over-scoped token.

Huntress's guide to MFA for businesses makes the complementary point that MFA is frequently misconfigured or underused rather than absent. Budget time for configuration review, not just purchase.

MFA recovery: the test that eliminates half the shortlist

A device incident is the moment your IdP choice becomes visible to everyone. Someone's phone is lost, stolen or dropped in a lake, and the question is whether they can get back to work without an admin manually resetting things at 11 pm.

NIST treats this as a lifecycle problem. The authenticator event management section of the current guidelines says providers should encourage subscribers to maintain at least two separate means of authentication specifically to reduce recovery needs, and requires that adding a new authenticator be authenticated at the account's current assurance level, with a notification sent through a separate channel.

That gives you a concrete checklist. Ask each vendor:

  • Does the IdP nudge or require a second authenticator at enrollment?
  • Can a user self-service register a replacement device, and if so, what verifies them?
  • Is the user notified out of band that a new authenticator was bound?
  • When recovery completes, are existing sessions and refresh tokens invalidated?

That last point is where real incidents happen. A practitioner write-up on post-recovery revocation argues that replacing a lost factor closes one door while a stolen session cookie, refresh token or trusted-browser selector stays open, and proposes binding every credential to a security epoch that increments on recovery. Microsoft's documentation on revoking user access in Entra ID makes the same underlying point from the vendor side: access tokens typically last an hour, and session cookies issued by an application cannot be revoked directly by the identity provider, only by the application.

So the recovery question is not "can a user reset their MFA." It is "does a reset invalidate everything downstream, or will I be chasing sessions for a week." Test it: in a sandbox tenant, enroll two authenticators, sign in on two browsers, trigger recovery, and check whether the second browser's session dies.

You also need a break-glass path for the IdP itself. Microsoft's guidance on emergency access accounts recommends two or more cloud-only accounts, passwordless methods such as FIDO2 passkeys rather than passwords, and exclusion from Conditional Access policies that could block sign-in during the emergency the account exists for. Even on another platform, the principle transfers: two accounts, strong factors, stored offline, excluded from the policies that protect everyone else.

A worked example of the under-an-hour target: a contractor loses a phone at 9:40 am. She signs in on a backup laptop using a second registered passkey on a hardware key kept in her bag (2 minutes). She removes the lost device from her authenticator list (1 minute). Because the removal increments the security epoch, her old mobile sessions die automatically. She reports the loss to the sponsor, who checks the audit log for any sign-in from the lost device after 9:40 (10 minutes). Total elapsed: under 20 minutes, zero helpdesk tickets. If any of those three steps needs an admin, the number becomes hours.

SCIM: provisioning agents, contractors and leavers

SCIM is the standard most teams under-examine because it usually works for employees. The gap is everyone else.

LoginRadius's write-up on using SCIM to provision and govern AI agents makes the case plainly: agents authenticate, access resources, execute operations and generate audit logs just as users do, so registering them as SCIM-managed identities, rather than as unmanaged service accounts or hardcoded credentials, keeps them inside the same lifecycle controls. The identity record can carry the agent identifier, owning application, authorization scopes, tenant context and ownership metadata. Deprovisioning removes the identity from every connected system in one operation.

That framing gives you questions with yes-or-no answers:

  • Can SCIM create a non-human identity with scopes attached, not just a user record?
  • Does deprovisioning an owner cascade to the identities they sponsor?
  • Does an update to an agent's role assignment propagate to connected systems, or does someone edit a config file?
  • Can you rotate an agent secret through the same workflow, with an audit entry?

On ownership, Sweet Security's overview of non-human identity is blunt: every agent identity should have an assigned human owner or accountable team responsible for access scope, monitoring, credential hygiene and retirement. Its inventory checklist is worth copying into your evaluation notes: credential type, owner, purpose, connected systems, permission scope, sensitivity, secrets location, rotation status, expected behavior and deprovisioning criteria. If the IdP cannot store most of that against the identity record, you will maintain a spreadsheet, and spreadsheets drift.

Aembit's discussion of agent identity adds a nuance that changes how you think about provisioning: agents are non-deterministic in a way ordinary service accounts are not. A script's permissions are static; an agent decides which tools to call as it reasons. That argues for least-privilege scopes that are narrow and short-lived rather than broad and permanent, because you cannot fully predict what the agent will need.

The provisioning test, in one sentence: can you onboard a contractor and her agent on Monday, change the agent's scope on Wednesday and remove both on Friday, with every step leaving an audit record and no manual database edit?

Audit exports: one schema or two?

Audit is where most comparisons get lazy. "Has an audit log" is not a criterion. The criterion is whether you can export it, in what format, for how long, and whether agent actions are in it at all.

Ask for three things:

  1. A sample export. Get an actual CSV or JSON file, not a screenshot of the UI. Check whether agent-initiated events use the same event schema and field names as user-initiated events. If agent actions appear only in a separate agent console, your incident reconstruction will involve two tools and a join key.
  2. A retention statement. How long are events queryable through the API, and how long are they retained for export? Get it in writing.
  3. A correlation field. Can you filter events by the human sponsor behind an agent, or only by the agent's own identifier? The CSA framework's finding that only 28 percent of organizations can trace agent actions to a human sponsor describes the failure mode you are trying to avoid.

A comparison table helps structure the conversation:

CriterionMinimum acceptableWhat to ask for
Export formatsCSV and JSON, API-accessibleSample file from the sandbox
SchemaAgent and user events share field namesTwo events side by side
RetentionLong enough for your incident review windowWritten retention policy
AttributionAgent event links to human ownerFiltered query result
Session revocationRecovery increments a global cutoffLog entry plus session death test
SCIM coverageNon-human identities includedProvision and revoke an agent in the sandbox

Run the last row literally. Most vendors will give a trial tenant. Create a test agent, give it a scope, rotate its secret, remove its owner and confirm the agent stops working. Then export the log of that sequence and see whether all four steps are in it.

The decision rule

If you want one rule to end the debate, use this: score each candidate on whether you can recover a lost device and rotate an agent secret in under an hour using only self-service flows. A provider that passes is a provider your small team can operate without a dedicated identity administrator. A provider that fails will cost you admin hours every time something breaks, and the cost compounds as agent count grows.

Weight the dimensions like this for a team with agents:

DimensionWeightWhy
Agent identity lifecycle (SCIM plus ownership)35%Highest growth area, hardest to retrofit
MFA recovery and revocation25%Directly determines incident response time
Audit schema and export20%Determines whether you can reconstruct an incident
Human SSO and phishing resistance20%Necessary, and increasingly commoditized

Adjust the numbers, but keep the ordering. Human SSO should not be the heaviest column when the fastest-growing population in your directory cannot use a browser.

Two more practical checks before you sign. First, confirm the vendor's compliance documentation reflects the current NIST revision rather than the superseded 800-63B text, and that the AAL mapping they claim covers session requirements, not just authenticator types. Second, interview one vendor about how they would handle a hypothetical: a contractor's laptop is stolen on a Friday night, and a support agent that contractor sponsored holds a standing token to your CRM. The answer should name the owner relationship, the revocation step and the audit query, in that order and without hesitation.

Once the identity layer is settled, the natural next question is how your team issues and governs the keys your agents use to call models. Quanta Inference gives you one API key covering text, image, video, audio and embedding models, with prepaid US dollar pricing, so the credential you rotate is a single one rather than five vendor accounts. If you would rather talk through the whole picture, a free 30-minute discovery call covers your goals and a tailored recommendation with no obligation.

FAQ

FAQ

How is an AI agent identity different from a service account?

A service account runs a deterministic script with a static set of permissions, while an AI agent plans, selects tools and delegates to sub-agents as it reasons, so its access needs shift between runs. That is why Aembit describes agent identity as a mix of human and non-human models, and why short-lived, narrowly scoped grants suit agents better than standing permissions.

Do we need passkeys if everyone already uses an authenticator app?

Authenticator apps still rely on a code that a convincing phishing page can capture and relay, whereas passkeys use origin-bound key pairs that cannot be replayed, as Microsoft's passkey documentation explains. For a small team, the usability data points the same way: synced passkeys were faster and more successful than password plus MFA in Microsoft's measurements. Keep an app-based method as a backup factor for recovery.

What should we do if our chosen IdP cannot deprovision agent credentials automatically?

Treat the gap as a manual control with a name attached: one owner, a recurring rotation schedule recorded in your inventory, and an audit query that checks for stale credentials. Sweet Security recommends recording rotation status and deprovisioning criteria per identity. If the list grows past a dozen agents, the manual control stops being credible and the IdP decision should be revisited.

How long should we keep audit exports?

Long enough to cover your longest realistic investigation, which usually means the period between an incident occurring and it being noticed. Ask the vendor for a written retention statement and test that the API returns events across the oldest part of the window you need. Note also that IdPs cannot revoke cookies issued by downstream applications, per Microsoft's revocation guidance, so plan application-side revocation separately.

Can a small team skip SCIM entirely?

Yes, until the first contractor leaves with a still-valid credential or an agent keeps working after its project is retired. The CSA framework reports that 78 percent of surveyed organizations had no documented policy for creating or removing AI agent identities, which is exactly the situation SCIM closes. If you skip it, replace it with a documented manual lifecycle and a weekly review of active non-human identities.

Sources

Sources

  1. Agent Identity Governance Framework, Lab Space
  2. NIST.SP.800-63B-4.pdf
  3. Digital Identity Guidelines: Authentication and Lifecycle ...
  4. NIST authenticator assurance levels with Microsoft Entra ID
  5. Authentication methods in Microsoft Entra ID - passkeys (FIDO2)
  6. FIDO Passkeys: Passwordless Authentication
  7. What is FIDO2? FIDO 2 Authentication Explained - Passkeys
  8. Authenticator Assurance Levels - NIST Pages
  9. MFA for Business: Benefits, Methods & Why It Still Matters | Huntress
  10. Authenticator Event Management
  11. Revoking Sessions and Trusted Devices After MFA Recovery
  12. Revoke user access in an emergency in Microsoft Entra ID
  13. Manage emergency access accounts in Microsoft Entra ID
  14. Using SCIM to Provision and Govern AI Agents
  15. Understanding Non-Human Identity for AI Agents
  16. What Kind of Identity Should Your AI Agent Have?
  17. NIST Special Publication 800-63B
  18. Authentication Assurance Levels
About the author

About the author

Antonio Evans
Antonio Evans

Antonio Evans is the founder of Quanta Intelligence and a fractional CTO who builds HIPAA-ready AI systems for health and life-science companies. Before that he was technical co-founder of FriendsEAT for twenty years, CEO of Socialdraft, and a data engineer at IBM. Antonio lives with his dog Santino in Lisbon, Portugal.

All articles