Briefing · Article · source · updated · Boston Identity
Auth0's AgentCore guide says prompts alone are not enough, then lets the prompt decide when to ask a person
Kapil Patil's walkthrough on the Auth0 blog builds an agent on Amazon Bedrock AgentCore with Auth0 for AI Agents around it: Auth0 login checked before the agent runs, user tokens fetched from Token Vault and kept away from the model, Auth0 FGA for per-user tool rights, and a CIBA push to a phone for sensitive requests. Whether a request goes to that push at all is a rule in the agent's system prompt. The setup also switches MFA off.
What's happening
Finding3In Patil's build a system prompt tells the model when to ask a person for approval, and the agent code has no reset tool behind that approval.
Patil warns that "Relying solely on prompt engineering is insufficient for ensuring LLM safety", yet in his build a prompt decides when a person is asked. The agent's system prompt tells the model that for an elevated operation such as a password reset "you MUST call the `invokeCiba` tool", which sends an approval request to the user's Guardian app. The agent code in the post has no reset tool behind the approval (the flow "does not actually reset your password"), so the walkthrough shows an approval arriving on a phone, not an action that waits for one. In the test screenshot the agent still tells the user the new password has been set.
flag a problem with BI-FIND-2026-1261
Patil's design is meant to keep credentials away from the model by parking users' tokens in a DynamoDB session table the agent reads at run time.
The design is meant to keep credentials away from the model. AgentCore Identity checks the user's Auth0 access token before the agent runs. The user's tokens for outside services come from Auth0 Token Vault through a token exchange and are parked in a DynamoDB session table the agent reads at run time, because, Patil writes, "passing access tokens to these models is inherently insecure." Auth0 FGA then decides from a per-user tuple whether the agent may read that user's Okta groups. The DynamoDB table is a second copy of the vault's tokens, and the post does not say how it is protected or when entries expire.
flag a problem with BI-FIND-2026-1263
Patil's setup leaves the AgentCore Gateway's allowed audiences, clients and scopes unticked and has the reader set the tenant's MFA policy to None.
Two setup steps loosen checks we would expect a production build to keep. Patil explains that the agent runtime's audience check stops "a token from another app from being reused here (a common security vulnerability)", but his screenshot of the AgentCore Gateway, which fronts the MCP servers and APIs, leaves allowed audiences, clients and scopes unticked and matches only the token's azp claim to the app's client ID. And the test plan tells the reader to set the tenant's MFA policy to "None" so that Token Vault works. A team that follows the steps as written ends up with both settings.
flag a problem with BI-FIND-2026-1262
Section by section
5showing 5 of 5
[1]The premise: no blueprint, six misunderstandings
Kapil Patil, Auth0 (Okta)
Agentic identityAI trust
The premise: no blueprint, six misunderstandings
Kapil Patil, Auth0 (Okta)
Patil opens by saying agent security has no settled blueprint, and asks for least privilege, credentials issued per user instead of one shared secret, fine-grained access control and a human in the loop. Under the heading of common misunderstandings he adds that plain API keys lack per-user context, that prompt engineering alone is not enough, that a bare "Yes" is not adequate consent for sensitive actions, and that a model must never handle credentials. None of it is backed by data.
positioning shiftfrom published text
[2]Reference architecture: Auth0 around AgentCore
Kapil Patil, Auth0 (Okta)
Agentic identity
Reference architecture: Auth0 around AgentCore
Kapil Patil, Auth0 (Okta)
A user signs in through the Auth0 widget and a Strands agent runs inside AgentCore Runtime, where AgentCore Identity checks the Auth0 access token before the agent acts. The agent then calls Auth0 FGA, a CIBA approval for sensitive requests and Token Vault, and reaches MCP servers and APIs through AgentCore Gateway. The post's architecture diagram [figure 1] matches the prose.
ecosystem movefrom published text + figures
[3]Setup: Auth0 application, Token Vault, AWS infrastructure and Gateway inbound auth
Kapil Patil, Auth0 (Okta)
Agentic identityNon-human identity
Setup: Auth0 application, Token Vault, AWS infrastructure and Gateway inbound auth
Kapil Patil, Auth0 (Okta)
Most of the setup is console clicks: an Auth0 web app with the Token Vault and CIBA grant types, an Okta OIDC connection, the My Account API for connected accounts, an AWS user given Admin rights for the demo, a DynamoDB table that holds the user's federated tokens so the model never sees them, Secrets Manager, and a Gateway whose inbound check, in the screenshot [figure 22], matches only the azp claim.
technical artifactfrom published text + figures
[4]Agent build, JWT authorizer and FGA model
Kapil Patil, Auth0 (Okta)
Agentic identityAI trust
Agent build, JWT authorizer and FGA model
Kapil Patil, Auth0 (Okta)
The agent's tools read the user's Okta groups, start a CIBA approval or reach the remote MCP tools. Its system prompt tells the model it must call the CIBA tool for a password reset. Deployment sets a JWT authorizer with allowed clients and audience. The FGA model lets a user, or a member of a group, read Okta groups, and one tuple grants the author that right.
technical artifactfrom published text + figures
[5]Test plan and conclusion
Kapil Patil, Auth0 (Okta)
Agentic identity
Test plan and conclusion
Kapil Patil, Auth0 (Okta)
The test plan is manual: log in with MFA, then switch the tenant's MFA policy to "None", list Okta groups through Token Vault, approve a CIBA push for a password reset that the post says is not a real reset, list tasks over MCP, and revoke the FGA tuple to get a refusal. Screenshots cover the successful paths only; the refusal is an expected result with no screenshot.
technical artifactfrom published text + figures