Attaching the person's account

Last updated ยท Page 6 of 6

Linking is optional and only worth doing when the person asks. The person needs no LivingSocial account. Since MCP 9.0.0 (19 November 2026) it is OAuth 2.1 and nothing else: no code, email address or phone number passes through the conversation, a tool argument or a tool answer.

  1. The assistant calls link_account. Without a linked account the answer is the account_link_required refusal, and its _meta["mcp/www_authenticate"] points the client at the server's protected resource metadata (/.well-known/oauth-protected-resource/mcp_customers/mcp).
  2. The client runs OAuth 2.1 with PKCE (S256): it registers itself (RFC 7591), and the person's browser opens LivingSocial's sign-in page. The person signs in there, with email and a code, a phone, or Google, and allows the assistant.
  3. The client exchanges the code for an access token and sends it as Authorization: Bearer from then on. That token is a shopping session that acts for the person's account for 30 days: no tool takes or answers a token, and the cart is the account's own. A cart filled before linking stays with the earlier session, so the assistant adds again what the person had chosen.
  4. link_account now answers account.linked: true and identity.bound: true. Linking is not marketing consent and does not let the assistant pay: the person always pays on Groupon's page.

A client that does not support OAuth keeps shopping anonymously; nothing else changes for it.

Which account is which

Your assistant signs up for none of them: its first search issues its own key. The person may meet two:

  • A LivingSocial account. Optional. When the person links it, by signing in on LivingSocial's page as above, it keeps their cart on LivingSocial. They can also sign in to it on customers.livingsocial.com.
  • A Groupon account. The person pays on Groupon's own checkout page and finds their order in their Groupon account afterwards. The assistant never signs in to it; the uncertain status above tells the person to check it.

A builder who needs a Partner API key also registers a storefront: a registration under a LivingSocial account, not a separate login. See Get your API key.