User and account mapping in punchout (SSO without passwords)

Punchout is single sign-on. Design it like one.

Implementation Intermediate 1 min read Reviewed Nov 27, 2026

A punchout session logs the requester into your store without a password. That makes it a form of single sign-on, and it deserves the same care.

Two levels

  1. Account (company): from the cXML From/Sender credentials or OCI login. Required.
  2. User (person): from extrinsics such as email or unique name. Optional but valuable.

Options for users

  • One shared user per customer: simplest; no per-person history.
  • Users created on the fly: match on email or unique name, create if new, update names. Gives each requester their own favourites and history.
  • Pre-provisioned users only: reject unknown users. Rarely worth the friction.

Permissions

Punchout users should not be able to: change company details, see other customers' data, pay by card, or see orders outside their organisation unless the contract allows it.

Sessions

  • One session per setup request; expire it after a period of inactivity and after the cart is returned.
  • Keep the BuyerCookie and BrowserFormPost URL server-side, tied to the session; never trust a return URL sent later from the browser.

Privacy

Personal data in extrinsics (names, emails) is personal data under GDPR, India's DPDP Act and similar laws. Store only what you need, and explain it in your agreements.