How do you authenticate the human behind an AI agent?

Authenticate the human behind an AI agent with a passkey, scoped delegation, action-bound proof, and verification at execution time.

Updated
July 13, 2026
Reviewed by
LoginID Identity Team

Direct answer

Authenticate the human behind an AI agent by keeping the human and agent as separate identities, verifying the human with a phishing-resistant method such as a passkey, capturing exactly what the person delegates, and binding that approval to the agent, task, limits, and expiry. The receiving service should validate the complete chain before it executes a consequential action.

What is the safest pattern?

A strong implementation separates the agent identity, human authentication, delegated authority, action proof, and service-side enforcement. This lets a downstream service tell that an agent acted for a person without mistaking the agent for that person. OpenID Foundation’s on-behalf-of guidance

  • Give the software agent a managed identity with its own credential lifecycle.
  • Verify the user on a trusted relying-party surface.
  • Describe the delegated action, target, limits, purpose, duration, and downstream delegation rules.
  • Issue signed, short-lived authority and verify it at the action boundary.

How do you bind the human to the agent?

  1. 01

    Register both identities

    Keep the agent identity separate from the user account. Define the owning organization, credential rotation, and revocation path.

  2. 02

    Present a clear approval request

    Show the person what the agent wants to do, including the action, target, amount or data boundary, duration, and whether tools or sub-agents may be involved.

  3. 03

    Authenticate the human on a trusted surface

    Trigger WebAuthn or another appropriate ceremony controlled by the relying party. The agent can initiate the request, but it does not receive the passkey private key, biometric, or PIN.

  4. 04

    Create scoped, signed authority

    Bind the human identifier, agent identifier, permitted action, purpose, audience, limits, issue time, expiry, request identifier, and revocation conditions.

  5. 05

    Verify immediately before execution

    The receiving service validates agent credential, human delegation, signature, audience, scope, expiry, proof-of-possession, and current policy.

  6. 06

    Preserve an audit trail

    Record the human, agent, approval context, executed action, policy decision, and outcome so accountability survives after the session ends.

When should the user be asked again?

Human-in-the-loop does not mean prompting on every click. It means defining where human authority is required and making the resulting approval specific, verifiable, and enforceable. NIST’s human-binding and least-privilege questions

Recommended control
Low-risk action inside a narrow active scopeAllow with the existing delegated authority after normal policy checks.
New merchant, tool, or data destinationRe-evaluate policy and often request approval.
Amount or privilege exceeds the approved limitRequire step-up authentication and fresh consent.
Agent delegates to another agent or toolRequire explicit delegation rules and scope attenuation.
Credential, device, or agent risk changesSuspend or revoke authority and re-authenticate.
Irreversible or regulated actionRequire action-specific proof and an auditable approval event.

What should stay outside the agent context?

Do not expose passwords, passkey private keys, biometric data, recovery codes, reusable one-time passwords, unrestricted API keys, or long-lived session cookies to the model. Keep authentication and signing inside trusted components with narrowly defined interfaces. OAuth security best current practice

Sender-constraining a token with DPoP or mTLS reduces the risk that a stolen token can be replayed by another client. It complements, rather than replaces, human authentication and action-specific authorization. RFC 9449 DPoP

How does LoginID help?

LoginID uses passkeys to verify the human before an agent executes a consequential action. That verified event can support scoped consent, digitally signed transaction authorization, and a service-side decision that connects the action to a known person without giving the agent the person’s credentials.

Related questions

Can the agent trigger the passkey prompt?
Yes, but the authentication ceremony should be controlled and verified by the relying party or trusted identity service. The agent can initiate the request, but it should not receive or handle the private key.
Is a biometric sent to the server?
No. In a passkey flow, the device performs local user verification. The server receives cryptographic evidence that the authenticator completed the ceremony, not the user’s fingerprint or face data.
Is a login event enough to approve a payment or sensitive change?
Not necessarily. A login proves access to an account. A high-risk action may need fresh authentication plus proof bound to details such as amount, merchant, account, or data destination.
How do you revoke an agent’s authority?
Expire or revoke its access token or signed mandate, disable the agent identity, rotate credentials, and enforce revocation at the resource server. Short-lived grants reduce the window of exposure.

Primary sources

  1. W3C Web Authentication Level 3

    Relying-party-scoped credentials, user consent, authentication assertions, and transaction authorization use cases.

  2. FIDO Alliance: Passkeys

    Phishing-resistant sign-in, local biometric or PIN verification, and the passkey security model.

  3. RFC 6749: OAuth 2.0

    Limited access, approval, scopes, duration, and access tokens.

  4. RFC 9449: DPoP

    Binding OAuth tokens to a client key.

  5. RFC 9700: OAuth 2.0 Security Best Current Practice

    Modern OAuth security guidance, sender-constrained tokens, and credential exposure risks.

  6. NIST NCCoE draft concept paper

    Human-to-agent binding, least privilege, proof of authority, and non-repudiation. Draft dated February 2026.

  7. OpenID Foundation: Identity Management for Agentic AI

    Separate agent identity, explicit on-behalf-of delegation, consent, and auditability.

Verify the person before the agent acts.

Use passkeys and scoped, signed authority to keep the human in control without handing credentials to the model.