Agent Sign-In
An agent can complete an interactive sign-in built for a human, without impersonating an employee or sharing a login. Which credential it uses depends on what the target application expects. That might be a username and password held as schema attributes, or an emailed or texted one-time code or magic link. Passkey registration for agents is not available on hosted tenants.
Allow the agent type on the application
An application accepts an agent as a sign-in subject only when agent sign-in is enabled for it. Every application rejects agents until you turn it on, even when the agent presents the right credentials.
- Go to Applications and open the application the agent signs in to.
- On the Access tab, click on Enable agent sign-in.
- Save from the unsaved-changes bar.
This setting gates sign-in only. Roles and scopes still govern what the agent can do once it is signed in.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Sign the agent in
An agent can have multiple methods of authentication to sign in to an application. Choose the method that fits your use case.
Add the attributes to the agent schema
Choreo Identity & Access Management agents carry one schema per organization unit, shared by every agent in it. See Agent Schema for the full attribute model.
- On the Agents list, click Schema.
- Add a
usernameattribute: set Type to String, and turn on Required and Unique. - Add a
passwordattribute: set Type to String, and turn on Required and Credential. - Save from the unsaved-changes bar.
Marking password as a credential means Choreo Identity & Access Management hashes it on write and never returns it in a read response, the same guarantee that applies to any credential attribute.
Create an agent
Create the agent the same way as any agent, filling in the username and password attributes with the values the application expects. See Create an agent.
Once created, Choreo Identity & Access Management can verify the password but cannot return it, the same as any credential attribute. Provision the same value to the agent's runtime through your own secrets manager or deployment pipeline, since creating the agent already required it.
Authenticate to the application
The agent submits the username and password from its schema to the application's own sign-in flow, exactly as a person would.
See Authenticate the Agent for this pattern applied in a full scenario.
Add the attributes to the agent schema
Choreo Identity & Access Management agents carry one schema per organization unit, shared by every agent in it. See Agent Schema for the full attribute model.
- On the Agents list, click Schema.
- For an email OTP or magic link, add
emailattribute: set Type to String, and turn on Required. - For SMS OTP, add
mobile_numberattribute: set Type to String, and turn on Required. - Save from the unsaved-changes bar.
Create an agent
Create the agent the same way as any agent, filling in whichever of the email or mobile_number attributes matches the channel the application uses. See Create an agent.
Let the agent read its own code or link
Connect the agent's email address or mobile_number to an email API, SMS gateway, or MCP integration under your control, so the agent can retrieve what the application sends. An emailed or texted code reads like any other message. A magic link differs only in that the agent extracts the token query parameter from the link itself, rather than opening it in a browser, and submits that token back to complete the sign-in.
This connection runs outside Choreo Identity & Access Management, through whatever email provider, SMS gateway, or MCP server the agent already uses for other tasks.
Was this page helpful?