Skip to main content
SSO means signing in to SalesOS with the same login you use at work, with no new password. Think of the front desk in your office building: it checks the badge and lets people in. With SSO, SalesOS does the same: it trusts your company’s login and opens the door. It works for all of SalesOS, in the browser, on a computer or a phone. You do not need to know about security to turn on SSO. This page explains every word and every click, in order. The technical details come after the step by step.

The whole path

The first three stages happen twice: first in staging, the test environment, and then in production.

The 6 words you will see

The client secret is the only word that needs care: it is a password and never goes by email or chat.

Step by step

Seven steps. Start with staging; production comes at the end.
1

Find who administers your company's login

Usually someone in IT. Without administrator access to the identity provider, the next steps go nowhere. Any OpenID Connect provider works: Microsoft Entra ID, Okta, Google Workspace, Keycloak, JumpCloud, Auth0 and similar.Done when: you have found that person.
2

Register SalesOS in your company's login

  1. Create an application of type Web (sometimes called “confidential”).
  2. In the redirect URI, copy and paste exactly: https://auth-staging.play2sell.com/login/callback
  3. Allow the openid, profile and email permissions, and save.
Copy and paste the address instead of typing it: one extra slash or space already causes an error. Where to click in each provider: Examples by provider.Done when: the application shows up in the list with a client ID and a client secret.
3

Say who may sign in

Assign the groups or people who will use SalesOS to the application. Include a test user who is not an administrator: administrators get into everything and hide errors.Done when: the test user is on the list.
4

Write down four details

  • The configuration URL, ending in /.well-known/openid-configuration.
  • The client ID.
  • The client secret, kept in the password vault.
  • Which field identifies the person: the CPF (Brazilian tax ID), if the system has it; otherwise, the system’s own id (see The stable identifier).
Done when: all four are written down.
5

Send them to Play2sell

Sent the secret by email by mistake? Create a new one in the provider and delete the old one. The full template is in What to send us.Done when: Play2sell has sent back the staging entry link.
6

Test with an ordinary user

The third test must fail: it proves that only invited people get in. Full checklist in Staging tests.Done when: all three tests gave the expected result.
7

Repeat for production and share the link

Redo steps 2 to 6 with the address https://auth.play2sell.com/login/callback. After Play2sell confirms, post the link on the intranet, the portal or in an email to the team.Done when: the team has the production link.

The 3 most common errors

Almost every problem is one of these three, and all of them are fixed in your company’s login.
On the day you create the client secret, put its expiry date in the IT calendar, with a reminder 30 days before.
Other errors, with each provider’s message, are in Troubleshooting.

Need help?

Talk to your Play2sell contact and send four things:
  • the time of the attempt, with time zone;
  • the email of the person who tried to sign in;
  • the environment: staging or production;
  • a screenshot of the error screen.

From here on, the technical details. Provider requirements, examples by provider, what happens to each user, and security. Managers and project owners will find the essentials in Who gets in and who is refused and the FAQ.

What your provider needs

You do not need to buy anything new. Use the identity provider your company already has; the Play2sell side is already set up. Auth0 in the examples table is only for companies that already use Auth0 as their own login.
  • Microsoft 365 (Entra ID): no extra cost. Assigning people one by one works on the free tier; only group assignment requires Entra ID P1 or P2.
  • Google Workspace: no extra cost. Registering the application in Google Cloud is free of charge.
  • Keycloak: open source, no license. The only cost is the server it runs on.
  • Okta, JumpCloud or Auth0: nothing beyond the subscription your company already pays.
  • No identity provider: SSO is not needed. The team signs in with the regular SalesOS login.
The step by step above already covers these requirements; use the table to check. All of them are mandatory. Without any one of them, sign-in does not complete. A name in the profile is recommended but not required. The email_verified field is not required: people who already have a SalesOS account confirm they own the email through a link from us (see Who gets in and who is refused).
If your provider lets you choose how the application authenticates at the token endpoint, enable client_secret_post and client_secret_basic.

The stable identifier

It is the field that says who the person is from one sign-in to the next. It must not change when the user changes email. The choice is made once, before production; changing it later must be agreed with Play2sell. About the document:
  • The field must carry 11 digits (CPF) or 14 (CNPJ), with or without formatting. With any other length, or empty, sign-in is refused.
  • Keep the document correct in the provider’s records: the person is recognized by the document and, when it does not identify anyone, by email.
Namespaced fields (e.g. https://yourcompany.com/cpf) and nested fields (e.g. dados.cpf) are accepted.

Examples by provider

Menu paths change over time; when in doubt, the provider’s documentation wins (see References).
  1. In App registrations › New registration, create the application as single tenant. The client ID is on Overview.
  2. In Authentication › Add a platform › Web, register the redirect URI.
  3. In Certificates & secrets › New client secret, create the secret. Microsoft caps it at 24 months and recommends less than 12. The value is shown only once.
  4. In Enterprise applications, turn on Assignment required and assign users or groups. Group assignment requires Entra ID P1 or P2, and nested groups do not count.
Watch out:
  • A Global Administrator gets in even without being assigned. Test with an ordinary user.
  • sub is different for each application. Recreating the production application changes every user’s id: tell Play2sell first.
  • Entra’s userinfo returns only sub, name, family_name, given_name, picture and email, and cannot be customized. A CPF stored in another attribute does not come through it.
  • Check that the test user’s email is filled in on Entra and appears in userinfo.
  1. In Applications › Create App Integration, choose OIDC and Web Application.
  2. Register the redirect URI in Sign-in redirect URIs.
  3. In Client authentication, use client secret and check PKCE.
  4. In Assignments, choose Limit access to selected groups. The default Everyone opens it to the whole company.
  1. In Clients › Create client, choose OpenID Connect and turn on Client authentication (confidential client).
  2. Register the redirect URI in Valid Redirect URIs.
  3. In PKCE method, choose S256.
  4. Copy the secret from the Credentials tab.
  1. In Google Cloud, create an OAuth client of type Web application and register the redirect URI.
  2. Set the consent screen to Internal: only accounts in your organization get in.
  3. Save the secret right away: Google shows the full value only once.
Google deletes OAuth clients unused for six months, with an email warning 30 days earlier. An idle staging client may disappear.
Any OpenID Connect provider that meets the requirements works. If yours is not in the table, send us its configuration URL and we will check it with you.

What to send us

One block per environment. The client secret goes separately, through the secure channel; everything else may go by email.
When the configuration URL is sent, the three URLs are read from it, and the document’s issuer must be identical to the URL used. Every URL must be https and reachable from the internet.

Sample userinfo response

A userinfo call with the test user’s access token should return something like:
With the CPF as identifier, the fields would be cpf, email and name; with the provider id, sub, email and name.

Entry link

Example: https://app.play2sell.com/login/sso?connection=construtora-x&next=%2Fcampanha After the first sign-in through the link, the SalesOS sign-in screen in that browser shows the Entrar pelo login da sua empresa button (“sign in with your company’s login”). On a phone, the link opens in the browser.
Some SalesOS APIs already return the entry link for the right page. The Campaigns API, for example, returns access.login_url with the address for each environment — use it instead of building the link in your code.
A person who belongs to more than one company in SalesOS picks the company first, on every sign-in, and then goes on. Anyone who came in this way and whose session expires inside SalesOS goes back through your provider automatically, to the same page, instead of landing on a password screen they have no password for.
next only accepts a path inside SalesOS (starting with /). A full URL, another host, a login path, screens such as /onboarding and /select-tenant, or anything over 512 characters is ignored, and the user lands on the home screen.

Staging tests

Production is only switched on after the first four tests pass. Use the staging link and the non-administrator test user. If a test fails, note the time, the user’s email and the error text, and see Troubleshooting.

Who gets in and who is refused

Signing in through your company’s provider only opens accounts in your company. The company and role come from the configuration agreed with Play2sell, never from data sent by the browser.
  • A new person comes in already tied to your company, with the agreed default role. Role changes are made later, in SalesOS.
  • People who already use SalesOS at your company are recognized on the first sign-in by document or email and go straight into the account they already had.
  • People with an account only at another company get a single-use link at the primary email on their account. After the click, they also get into your company, with the default role, without leaving the others; from the second sign-in on, they go straight in. The confirmation exists because the email a provider sends does not, on its own, prove who owns the account.
The refusals below show the user a message that tells them what to do:
The screens themselves are in Portuguese; the table translates them.
If SalesOS cannot check the access at that moment, sign-in is not allowed: the person goes back to the sign-in screen and can open the link again shortly.

Limits for your IT team

After go-live

When someone leaves the company

  1. Deactivate the person in your provider. Their next sign-in is refused by it.
  2. Ask their manager in SalesOS to deactivate the access. From then on, further sign-ins are refused by any path, regardless of the provider.
A session already open in SalesOS lasts until it expires. That is why step 2 matters for sensitive departures.

Client secret rotation

Each environment’s secret goes straight to our authentication service; it is not stored in the SalesOS database and never shows up on any screen. When it expires, nobody in your company can sign in.
  1. About 30 days before expiry, create a new secret without deleting the current one.
  2. Send the new one through the secure channel, with the agreed switch date.
  3. After our confirmation, do a test sign-in.
  4. Only then delete the old secret in the provider.
Put the expiry date in the IT calendar on the day you create the secret. Many providers expire secrets after 6 to 24 months.

Changes in the provider

Tell Play2sell before changing the provider’s domain, the client ID, the scopes or the profile field names. Any of these changes the configuration on our side.

Troubleshooting

Most failures show up at your provider, before SalesOS is called.

Security

The design follows current OAuth 2.0 (RFC 9700) and OpenID Connect recommendations. The other half of security lives in your provider.

What SalesOS guarantees

What we recommend to your IT team

  • Mandatory assignment. Release the application only to the groups that use SalesOS, never to the whole company.
  • An identifier that does not change. Under the OpenID Connect specification, only sub (with the issuer) is guaranteed to be stable. Email and username can change or be reused.
  • Short-lived secret. Microsoft recommends less than 12 months. Rotate with overlap: the new one goes in before the old one goes out.
  • One application per environment. Staging and production with separate clients and secrets.
  • Test with an ordinary user. Administrators often bypass assignment and hide failures.
  • Offboarding on both sides. SalesOS creates the record on the first sign-in and does not receive automatic user provisioning (SCIM). People who leave must be deactivated in the provider and in SalesOS (see After go-live).
Client secret or certificate: the connection uses a client secret, always together with PKCE. Microsoft now recommends a certificate or federated credential instead of a secret for production applications. If your company’s policy requires that, talk to Play2sell before you start.

FAQ

No. They sign in with the company login, through the link or the button.
No. On the first sign-in, the person is recognized by document or email and goes into the account they already had, with their history.
Yes. On a phone, the link opens in the browser, with the same sign-in and the same messages.
Never. The password is typed only at your company’s sign-in.
It still applies. Your provider asks for it, under the rules you already use.
First-time users get the default role agreed with Play2sell. After that, the manager changes it in SalesOS.
No. The record is created on the first sign-in. Departures follow the routine in After go-live.
It is cut at the next sign-in. A session already open lasts until it expires; to cut it sooner, the manager deactivates the person in SalesOS.
Nobody in the company can sign in until it is replaced. That is why it is worth rotating about 30 days before.

References

Official documentation consulted in November 2026.

Next steps

Campaigns API

An API that returns the entry link ready to use (access.login_url)

API Keys

Server-to-server integrations