Single sign-on
Let people sign in to Studio with their work account, through your own identity provider such as Microsoft Entra ID, Okta or Google Workspace, and have your provider remove people who leave.
With single sign-on, people in your organization sign in to Studio with their work account. Your identity provider decides who may sign in, and Studio trusts it for the email domains you have proven are yours. You can make it the only way in for your people, and let your provider remove them from Studio when they leave.
Studio works with any identity provider that speaks OpenID Connect or SAML 2.0, including Microsoft Entra ID, Okta, Google Workspace and Ping. You set it up yourself, in your own provider.
Single sign-on is a feature your organization needs first. When it has it, admins and owners see Organization settings → Single sign-on, and there is nothing more to ask us for. Switching Single sign-on off under Organization settings → Features hides the tab and stops sign-ins through your provider.
Who can change what. Whoever sets the identity provider decides who Studio believes people are, so some settings are the organization's owner's alone:
| The owner | Any admin |
|---|---|
| Saves the identity provider (OpenID Connect or SAML) | Adds, proves and removes email domains |
| Turns single sign-on on | Chooses whether people join on their first sign-in |
| Chooses the other ways in | Sets how long sessions last |
| Turns provisioning on or off, and makes its token | Turns single sign-on off, or removes the identity provider |
An admin sees the owner's settings but can't change them. Turning single sign-on off and removing the provider stay open to every admin, because they only ever let passwords work again.
1. Prove your email domains
Only people with an email address in one of your domains can sign in through your provider. You prove a domain is yours by adding a DNS record to it.
- Under Organization settings → Single sign-on → Your email domains, enter a domain such as
example.comand choose Add. - Studio shows a TXT record: a Name and a Value. Add that record where you manage the domain's DNS.
- Choose Check the record. The domain shows Proven once Studio finds it. A new DNS record can take up to an hour to show.
You can list up to 10 domains. A subdomain such as mail.example.com is a domain of its own. A domain can be proven by one organization at a time, and public mail providers can't be used. Removing your last proven domain turns single sign-on off.
Leave the record in place. Studio looks for it again every day, so a domain that changes hands stops working for the organization that once proved it. If the record goes missing:
- Your admins get an email the first day, and the domain shows a warning with the date the proof ends.
- Put the record back and choose Check the record to clear the warning.
- After seven days without the record, the domain is no longer proven. Its people can't use single sign-on until you prove it again, and single sign-on turns off if it was your last proven domain.
2. Register Studio in your identity provider
The owner does this step. Under Your identity provider, choose OpenID Connect or SAML. Use OpenID Connect when your provider offers both.
OpenID Connect
In your identity provider, create an application for Studio:
- Type: a web application that signs in with OpenID Connect (the authorization code flow).
- Redirect URI: copy it from Redirect URI in Studio.
- Scopes:
openid,emailandprofile. - A client secret: create one, and note when it expires.
Then paste into Studio:
- Issuer URL: the address of your directory at the provider. The address of its OpenID Connect metadata document works too. Use the one for your own directory, not one shared by every customer of the provider. For Microsoft Entra ID it is
https://login.microsoftonline.com/<your tenant ID>/v2.0, with your directory's tenant ID and not its domain name. - Client ID and Client secret: from the application you created.
Choose Save. Studio reads your provider's settings to check the issuer, and tells you if something doesn't fit. Studio keeps the secret encrypted and never shows it again. To replace it, paste a new one and save.
Your provider must send each person's email address to Studio. Most do once the email scope is allowed. If a sign-in stops because no email arrived, add the email claim to the ID token in your provider.
With Google Workspace, only your Workspace's own accounts can sign in, so prove your Workspace's primary domain, and set the application's audience to Internal.
SAML
In your identity provider, add Studio as a SAML application with the two values Studio shows:
- Reply URL (assertion consumer service): where your provider sends its answer.
- Identifier (entity ID): Studio's name in your provider. The same address also serves Studio's metadata, for a provider that reads it.
Send each person's email address as the name ID, or as an email attribute. Take it from a field people can't edit themselves: Studio knows a person by this address. A display name, or a first and last name, is used when your provider sends one.
Then give Studio Your provider's metadata and choose Save:
- The metadata address is best. When your provider changes its signing certificate, Studio reads the new one from that address.
- You can paste the metadata XML instead. When the certificate changes, save the new metadata yourself.
What Studio expects of a SAML sign-in:
- It starts at Studio: on the sign-in page, or from your sign-in link. For a tile in your provider's app list, use your sign-in link as the tile's address.
- The answer, or its assertion, is signed with SHA-256 or stronger.
- Assertions are not encrypted.
3. Turn it on
The owner, under Sign-in, chooses Turn on. You need a saved provider and at least one proven domain.
- Add people to this organization the first time they sign in: on, anyone your provider signs in, with an address in your domains, becomes a member on their first sign-in. Off, only members, people you have invited and people your provider lists (see provisioning) join. An invited person joins in the role you invited them in. Someone on your domains who already has a Studio account of their own, and is none of these, is signed in to that account without joining your organization: they see nothing of yours.
- Your sign-in link skips the email step: its page names your domains, and Continue goes to your provider. Use it as the app's sign-in address in your provider's app list, or link it from your intranet.
Turn off stops sign-ins through your provider at once, and passwords work again for everyone. Remove the identity provider makes Studio forget it and its secret; your domains stay. Any admin can do either.
4. Choose the other ways in
While single sign-on is on, the owner decides how else people with an address on your domains can sign in. Under Sign-in → Other ways in, for people on your domains:
| Choice | What it means |
|---|---|
| A password still works | People can sign in through your provider or with their Studio password. This is how it starts. |
| Google sign-in works too | Off unless you tick it: as soon as single sign-on is on, Google sign-in stops for people on your domains. |
| Single sign-on is the only way in | Passwords and Google stop working for people on your domains, including sign-up and password reset. |
To choose Single sign-on is the only way in, the owner first signs in through single sign-on, so they know it works. When you confirm, everyone on your domains who came in another way is signed out and signs in through your provider from then on.
What stays as it was:
- People from other domains, such as a consultant you invited, sign in as before.
- Google stays closed to your people even if they change their Google address. Someone whose Studio account is on your domains can't sign in with Google after changing the email of their Google account to another domain.
- Saving new provider settings lets passwords work again until you have signed in through the new settings and chosen single sign-on only once more. A mistyped value can't lock everyone out.
- If your provider stops working while it is the only way in, contact us and we let passwords and Google sign-in work again for your organization. Close them again once your provider is mended.
Sign in again after sets how long a session that came through your provider lasts: 30 days, 7 days, 1 day or 12 hours. A shorter time means someone who has left your provider loses access sooner, even without provisioning.
5. Remove people when they leave your provider
With provisioning (SCIM 2.0), your identity provider tells Studio who is assigned to it. When someone is unassigned, deactivated or deleted in your provider, Studio removes them from your organization and signs them out.
The owner turns provisioning on and off.
- Under Remove people when they leave your provider, choose Turn on provisioning.
- Copy the Secret token now. Studio shows it once.
- In your provider's provisioning settings for Studio, paste the Provisioning address (some providers call it the tenant URL or base URL) and the token.
- Map the person's email address to the user name, and turn group provisioning off: Studio takes people, not groups.
What provisioning does:
- Someone your provider lists as active can sign in through single sign-on, even when adding people on first sign-in is off. They become a member at their first sign-in.
- Someone made inactive or deleted loses their membership, any invitation still waiting and their sessions, and can't come back through single sign-on until your provider lists them as active again. For a person your provider lists with an address outside your domains, such as a guest, Studio removes the membership and leaves their sessions alone.
- An owner is never removed this way. Remove an owner yourself, after making someone else the owner.
Make a new token replaces the old one at once: paste it into your provider straight away. Turn off provisioning stops the token and makes Studio forget who your provider listed. Nobody is removed when you turn it off.
How people sign in
On Studio's sign-in page, they choose Continue with single sign-on and enter their work email. Studio sends them to your provider, and back into Studio once they have signed in there. With your sign-in link, they choose Continue and skip the email step.
Someone who already has a Studio account with the same email address keeps it: their chats, artifacts and other organizations are where they were. Signing in this way opens your organization.
Studio knows a person by the email address your provider sends. If someone's address changes, Studio sees a new person: invite or add them again, and remove the old member.
If a sign-in doesn't work
The person sees a short reason. As an admin you see more: Organization settings → Single sign-on → Sign-in shows why the latest failed sign-in stopped, such as a client secret that expired, a redirect URI that doesn't match or a signature that didn't check.
Someone on your domains who tries a password or Google when it is closed is told to choose Continue with single sign-on.
What to know
- Without provisioning, removing someone from your identity provider stops their next sign-in through it, and their session ends after the time you set under Sign in again after. It doesn't remove them from your organization: remove them under Organization settings → Members as well, or turn provisioning on.
- Making single sign-on the only way in signs out your members on your domains. Someone on your domains who is not a member of your organization keeps a session they already have until it runs out, and can't start another without your provider.
- Every change to these settings is in Organization settings → Change history.
Next: Organization & sign-in, or Security and data.