Set up single sign-on
Connect your identity provider over OpenID Connect, let your team sign in with it, decide who it may create an account for, and make it the only way in.
Goal
Your team signs in to Studio through your own identity provider. You have connected it, watched someone already in Studio sign in with it, chosen which new people it may create an account for and with what role, and seen what Sign in with SSO only does to a password.
Before you start
Open Settings → SSO, and add a provider. The page reads Single sign-on providers, self-registration, and default roles for federated users, and 0 configured. Press Add provider. Under PROVIDER, four cards: GitHub, Google, Microsoft Entra ID and Other OIDC provider, Okta, Ping, Keycloak, Auth0 and others. Choose the one you use. The rest of this lesson uses Other OIDC provider.
Register Studio with your provider, and fill in what it gives you. Under CALLBACK URL, Register this URL with Other OIDC provider: here
https://studio.example.com/api/auth/sso/oidc/callback. Copy it, and create an application in your identity provider with it as the redirect URI. The provider gives you a client ID and a client secret.Back in Studio, under CREDENTIALS, fill in Client ID, Client secret and Issuer URL, the provider's own address: Talon reads the sign-in endpoints from this issuer's /.well-known/openid-configuration. The dialog says the secret is encrypted at rest with AES-256-GCM and never returned by the API. Under SIGN-IN, both switches start off. Turn on Enable this provider, Show the sign-in button on the login page, and leave Allow self-registration off for now.
Groups to roles and teams, below, maps the groups your provider sends to a role or a team, one per line, such as
SOC = analystorSOC = team SOC analysts. Leave it empty unless your provider sends groups.

Sign in as Sam, with single sign-on. In Sam's browser, sign out and open the sign-in page. Under the password form it now reads OR CONTINUE WITH SSO, with Continue with single sign-on. Press it. Your identity provider's own sign-in page opens: sign in there as Sam. Studio opens on Overview as Sam Rivera, with the role SOC triage. Someone who already has a Studio account is matched to it by their email, and keeps their role and teams.

Try someone who is not in Studio. Sign out, press Continue with single sign-on again and sign in at the provider as Jo. Studio turns Jo away: Authentication error: Your organisation has not enabled self-registration via SSO. Contact your admin. On 1.1.16 the message shows only for a moment, while the sign-in page loads. That is what Invite only means: the provider signs in people you have added on People, and nobody else.
Allow self-registration, for your own domain only. On Settings → SSO, press the pencil on the card to configure it. Client secret now reads Saved (leave blank to keep). Turn on Allow self-registration, Create accounts for users not already in Talon Studio. Two more parts appear:
- ALLOWED EMAIL DOMAINS: Only these domains can create an account. Anyone else the provider signs in is turned away unless an admin adds them. Type your company's domain, here
example.com. - DEFAULT ROLE FOR NEW USERS: Read-only, Analyst and Engineer. Admin cannot be chosen: nobody gets admin by signing up. Choose Analyst.
Press Save. The toast reads Other OIDC provider SSO saved, and the card reads Self-registration example.com and Default role Analyst.
- ALLOWED EMAIL DOMAINS: Only these domains can create an account. Anyone else the provider signs in is turned away unless an admin adds them. Type your company's domain, here

Let Jo sign up, and give Jo a place. Jo signs in with single sign-on again, and this time Studio makes the account. On People, a new row: Jo Park, with the handle
jo.park, Analyst, no team, signing in with OIDC single sign-on. Like Sam on the first day, Jo lands on No workspace yet: add Jo to a team, as in lesson 2.

Make single sign-on the only way in. On Users & teams → Policies, switch on Sign in with SSO only: Everyone except admins must sign in through your identity provider, and password sessions already open stop working. Admins keep their password as the way in if the identity provider is down. Takes effect only while an SSO provider is turned on. A toast reads Sign-in policy saved. Sam's password no longer opens Studio: Your organisation signs in with single sign-on. Use the SSO button.
Two-factor for these people is now your identity provider's job. Require two-factor authentication does not ask people who sign in with SSO, so require it in the provider.

You should now see
One provider on Settings → SSO, Active, letting your own domain sign up as Analyst. Sam signs in through it, Jo has an account made by it, and passwords are kept for admins.
