Skip to main content
Agent platforms such as Gemini build their consent screen from the scopes your authorization server advertises. To make your UCP scopes discoverable, configure your API as the UCP resource server. Auth0 then publishes its scopes in your tenant’s discovery metadata.

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.
  1. Navigate to Dashboard > Applications > APIs and select your API.
  2. On the Settings tab, find the Universal Commerce Protocol section.
  3. Enable UCP Resource Server.
  4. Select Save.
If another API in your tenant already has this setting enabled, saving the setting results in an error that names the conflicting API.Once you’ve configured UCP for the API, add your UCP scopes:
  1. Select the Permissions tab.
  2. 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, and dev.ucp.shopping.checkout:manage. Enter a description for each scope.

Set a default audience

Agent platforms such as Gemini send the scope 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:
  1. Navigate to Dashboard > Settings > General.
  2. Under API Authorization Settings, set Default Audience to your UCP resource server’s identifier.
  3. Select Save.
A per-application default audience is planned in a future release.

Next steps