Join our Newsletter — 33% off our NHI Course

How should organisations govern customer and AI agent authentication when using app development partners?

Organisations should treat authentication design as a shared control, not a delegated afterthought. Define ownership for identity journeys, approval paths, and security testing before any partner begins implementation. Require least privilege, step-up checks for sensitive actions, and clear audit trails for both users and AI agents. This reduces account takeover risk and prevents partners from creating inconsistent authentication patterns across applications.

Why This Matters for Security Teams

When app development partners build authentication flows, the risk is not only misconfiguration. It is also control drift: one partner optimises for delivery speed, another hardcodes exceptions, and a third adds agent access without a clear approval model. That creates inconsistent identity journeys across customer apps and AI-enabled workflows, which weakens account takeover resistance and makes incident response harder. Current guidance suggests treating authentication as a shared security control, not a design detail.

This matters even more where autonomous tooling is involved. AI agents can trigger actions, chain tools, and request tokens in ways that are not predictable upfront, so static assumptions about who can do what tend to fail. The issue is reflected in NHIMG research on AI Agents: The New Attack Surface report and in the OWASP Agentic AI Top 10, both of which emphasise runtime risk rather than purely design-time trust. In practice, many security teams discover partner-created authentication gaps only after an account takeover, token theft, or unauthorised agent action has already occurred.

How It Works in Practice

Governance should start with a written identity and approval model that the partner must implement, not invent. That model should define how customers authenticate, how step-up checks are triggered for sensitive actions, and how AI agents receive workload identity and limited authorisation for each task. For autonomous workloads, static role-based access is usually too blunt; runtime decisions need to reflect intent, context, and risk. The current best practice is evolving toward policy-as-code, short-lived tokens, and explicit approval boundaries for privileged actions.

In practical terms, organisations should require:

  • Named owners for customer login, recovery, MFA, and account linking flows.
  • Separate rules for human users and AI agents, especially where agents can initiate tool calls or data access.
  • JIT credential issuance with short TTLs, automatic revocation, and no shared secrets embedded in partner code.
  • Audit trails that preserve who initiated the request, what the agent was trying to do, and which policy allowed it.
  • Security testing for OAuth abuse, session fixation, prompt-influenced tool use, and privilege escalation before release.

Standards bodies are converging on the same direction. The NIST AI Risk Management Framework and the CSA MAESTRO agentic AI threat modeling framework both support explicit governance, traceability, and runtime controls. NHIMG’s OWASP NHI Top 10 also reinforces the need to secure identities, secrets, and delegation paths together rather than as separate projects. These controls tend to break down when partners reuse a single auth pattern across consumer logins, admin access, and agent-to-system calls because the trust boundary becomes ambiguous.

Common Variations and Edge Cases

Tighter authentication governance often increases delivery overhead, requiring organisations to balance security consistency against partner autonomy and release speed. That tradeoff becomes sharper when the partner is building both customer-facing flows and embedded AI features, because one application may need modern authentication while another only needs delegated token exchange.

There is no universal standard for this yet, especially for agent identity. Current guidance suggests treating AI agents as workload identities, not users, and avoiding any design that gives them broad, persistent credentials. Where a partner insists on long-lived access for convenience, the safer pattern is to constrain scope, shorten TTLs, and require policy evaluation at request time rather than relying on pre-approved access lists. For implementation detail, the LLMjacking: How Attackers Hijack AI Using Compromised NHIs research and the Anthropic report show how quickly exposed credentials and agent misuse can be weaponised once they exist. The hardest edge case is partner-managed authentication in multi-tenant SaaS, where one weak tenant-specific exception can propagate into a repeatable takeover path across environments.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A2 Covers agent misuse, tool abuse, and unsafe delegation in partner-built auth flows.
OWASP Non-Human Identity Top 10 NHI-03 Addresses weak secret handling and long-lived credentials used by partners and agents.
CSA MAESTRO MAESTRO-2 Relevant to governance of agent identity, delegation, and runtime authorisation.
NIST AI RMF GOVERN Supports accountability, documentation, and oversight for AI-related authentication risk.
NIST CSF 2.0 PR.AC-1 Access control governance is central when partners implement authentication and delegation.

Design agent auth as runtime-checked, task-scoped, and revocable rather than static and persistent.