Definition
Identity linking is a capability of the Universal Commerce Protocol (UCP) that lets an AI agent or shopping platform act on a shopper's existing account at a store, after the shopper signs in and approves it through OAuth 2.0. The agent gets a token limited to the permissions the shopper approved, and never receives the shopper's password.
Why it matters
Without identity linking, an AI agent shops at your store as a stranger. With it, the agent can act as your signed-in customer, so the shopper gets what they would see on your site after logging in.
Google said on March 19, 2026 that UCP would support identity linking, so shoppers on UCP-integrated platforms can get the same loyalty or member benefits they would see when logged in to a retailer's site, such as pricing or free shipping. For a store with a loyalty program, that keeps members from losing their benefits when they shop through an assistant.
How it works
The UCP specification says the capability "enables a platform to obtain authorization to perform actions on behalf of a user" on a business's site. The UCP site sums up the approach: the "OAuth 2.0 standard enables agents to maintain secure, authorized relationships without sharing credentials."
In practice:
- Your store runs an OAuth 2.0 authorization server and publishes its details at
/.well-known/oauth-authorization-server. - The shopper signs in on your own page and approves what the agent may do. The spec requires the Authorization Code flow with PKCE.
- The agent receives a token limited to the approved scopes, such as reading orders (
dev.ucp.shopping.order:read), and sends it with each request that needs the shopper's account. - Your store returns account-specific data, such as loyalty status or saved payment methods, only for those authenticated requests. The spec also requires the store to support revoking tokens.
Identity linking is optional. A store can support UCP checkout without it and add it later.
Other agent standards use the same pattern. PAP also has the shopper sign in on the store's own page through OAuth when a task needs their account.
Example
A shopper who is a member of your coffee club asks an assistant to reorder their usual beans. The assistant asks to link their account, and the shopper signs in on your site and approves order access. The assistant then sees the member price and free shipping, places the order, and your store records it against the shopper's existing account. For more on UCP, read what is UCP?
Sources
- UCP specification: Identity linking · checked 17 Nov 2026
- UCP: Universal Commerce Protocol · checked 17 Nov 2026
- Google: AI shopping gets simpler with Universal Commerce Protocol updates · checked 17 Nov 2026