Single sign-on for business customers
What Is Business SSO?
Business single sign-on lets the buyers at a B2B company sign in to your storefront through your own OpenID Connect (OIDC) identity provider, instead of creating a separate Cartly password. The whole team shares one login, and you manage access from your identity provider — add or remove a teammate there and their storefront access follows.
Setting Up SSO for a Company
- Go to Admin → Companies and open the company
- On the Details tab, set the company's Company ID (lowercase, url-safe) — buyers use this to sign in
- Switch to the SSO tab and enter your identity provider's Issuer URL, Client ID, and Client Secret
- Toggle Enable SSO for this company on and save
Registering the Callback with Your Identity Provider
Add the following URL to your identity provider's allowed redirect URLs before enabling SSO:
https://cartly.pro/storefront/v1/sso/callback
How Buyers Sign In
- On the storefront login page, the buyer clicks Sign in with SSO
- They enter their company's Company ID
- They are redirected to your identity provider to authenticate, then returned to your storefront signed in
Notes
- SSO is configured per company — different companies can use different identity providers, or none at all
- Turning SSO off does not delete your configuration; you can re-enable it later without re-entering your credentials
- Saving the SSO tab without a new Client Secret keeps the existing one unchanged
Was this helpful?