Prerequisites
- An API that represents your UCP server.
- Resource Parameter Compatibility Profile (Optional): For MCP clients, we recommend enabling this profile in your tenant settings. This allows the authorization server to handle resource-specific requests (RFC 8707) by checking the resource parameter if the audience is not provided.
Configure the UCP resource server
You can only configure one API per tenant as the UCP resource server.- Auth0 Dashboard
- Management API
- Navigate to Dashboard > Applications > APIs and select your API.
- On the Settings tab, find the Universal Commerce Protocol section.
- Enable UCP Resource Server.
- Select Save.
- Select the Permissions tab.
- Add each scope your UCP server supports. UCP scopes begin with
dev.ucp, for example,dev.ucp.shopping.order:read,dev.ucp.shopping.cart:manage, anddev.ucp.shopping.checkout:manage. Enter a description for each scope.
Set a default audience
Agent platforms such as Gemini send thescope parameter but not an audience parameter. Without an audience, Auth0 can’t tell which API to issue a token for. During Early Access, Auth0 resolves this from your tenant’s default audience.
Set your UCP resource server’s identifier as the tenant default audience:
- Navigate to Dashboard > Settings > General.
- Under API Authorization Settings, set Default Audience to your UCP resource server’s identifier.
- Select Save.
A per-application default audience is planned in a future release.