- Publish your UCP scopes so agents can discover them from your tenant’s standard OAuth and OIDC metadata.
- Link a shopper using an agent platform to their account on your site using standard OAuth account linking.
- Tie purchases to a verified shopper, so agents can use order history, loyalty points, and eligible coupons rather than treating checkout as anonymous.
The merchant decides whether to trust an AI agent platform, and is responsible for where tokens go once issued. Don’t add personal data to the custom claims of UCP access tokens.
Use cases
- Sell through AI assistants as a new sales channel: Let shoppers discover, compare, and buy from your brand inside agent platforms such as Gemini, with checkout tied to a verified user identity.
- Personalize agent-assisted shopping: Link the shopper using the agent to their account on your site, so the agent can use their order history, credit loyalty points, and apply eligible coupons instead of treating every checkout as anonymous.
- Control what agents can request: Publish only the UCP scopes your server supports, and authorize each agent platform with a client grant, so agents can only request access you’ve approved.
Who this is for
Auth for UCP is for merchants that build and operate their own UCP server and need a standards-compliant authorization layer. If you use an e-commerce platform that provides built-in UCP support, you likely don’t need to configure this yourself.How it works
Auth0 supports the flows that UCP agents use today. You choose which to enable based on your user experience.To support guest checkout, authorize the application representing the agent platform to use the client credentials grant against your UCP resource server. If you don’t want to allow guest checkout, don’t authorize that grant.
Get started
To secure your UCP server with Auth0:- Configure your UCP resource server and publish scopes to discovery metadata.
- Set up standard account linking for the authorization code flow.
Limitations
Auth for UCP in Early Access has the following limits:- Only one API per tenant can be configured as the UCP resource server, and only that API’s scopes are published to discovery metadata.
dev.ucpscopes cannot be created on non-UCP servers.dev.ucpscopes cannot be added to non-UCP servers via the login action’sapi.accessToken.setScope()command.- Agent platforms send
scopebut notaudience, so Auth0 uses the tenant default audience for UCP flows. - Auth0 Organizations aren’t supported.