docs-site/content/guide/typesense-cloud/single-sign-on.md
In Typesense Cloud, you can integrate any SAML-based Single Sign-On platform(s) to give designated users in your organization access to your team account, using their existing SSO credentials.
:::tip Our SAML-integration is platform-agnostic
We've tested our SAML integration with popular SSO vendors like Okta, Azure Active Directory, Microsoft Entra ID, JumpCloud, Google SSO and Rippling SSO, but you can integrate any SSO vendor that offers SAML-based SSO with Typesense Cloud.
:::
We believe that good security is not an optional feature, so we make SSO available to all teams without any additional charges.
Here's how to set up SSO for a team in Typesense Cloud:
We now need to set up your SSO platform to continue the setup.
:::warning GitHub-based authentication
If you already use GitHub authentication, and have created a Typesense Cloud team via a GitHub org, you will not be able to set up SSO on this team.
You would have to sign up for a new account with email/password-based authentication, then create a new team under that login and set up SSO for that team. We can then move the clusters from your existing team account to your new team account if you reach out to support, once adding a payment method to your new account.
:::
Create a new "app" in your SSO platform following their documentation, and name the app "Typesense Cloud - <your team name>". Or if you only have a single team, you can also name the app "Typesense Cloud".
Note: Any users you give access to this app in your SSO platform, will be able to log in to Typesense Cloud and automatically access the team you created above.
Use any placeholder values in your SSO platform for the following values (we'll come back to fill these in later):
Use the image here as your SSO app's logo, to make it easy for your users to identify the app in your SSO portal.
Enable Response Assertion signing in your SSO app. It's usually found under "Advanced" settings and often enabled by default.
Once you've created the app, your SSO platform should give you the following information:
-----BEGIN CERTIFICATE----- and end with -----END CERTIFICATE-----.We'll now continue the setup in Typesense Cloud.
We'll now finalize the setup in your SSO platform.
email (format: unspecified, namespace: blank)first_name (format: unspecified, namespace: blank)last_name (format: unspecified, namespace: blank)::: tip For Rippling SSO
Please set:
:::
And that's it for one-time setup.
There are two ways to log in to Typesense Cloud once you've configured SSO.
This is also called the SP-initiated SSO in common terminology.
You'll find a unique SSO-login link in Typesense Cloud, that you can pass on to your team (or setup as a bookmark in your SSO platform) for your team to log in and access your Typesense Cloud team:
Accessing this link, will redirect users to your configured SSO platform, and then log them in if your SSO platform allows it.
This is also called IdP-initiated SSO in common terminology.
Your users can visit your organization's SSO portal and click on the Typesense Cloud app to log in.
Once you've configured SSO for a team in Typesense Cloud, to add new users, you only need to give them access to the SSO app in your SSO platform.
When a user you've authorized Typesense Cloud access for on your SSO platform, logs in for the first time into Typesense Cloud, we will automatically create a new user account for them and add their account to your Typesense Cloud team. So you don't have to explicitly provision users in Typesense Cloud each time.
:::tip SSO-created accounts are independent from accounts that use email/password-based login, even if they share the same email address.
So when a user logs in via SSO, their previous email/password-based account (if they created one) would still be active. But you can remove those accounts from being able to access your team account, from your team's account page. You'll find both their SAML account and their email/pwd based account, and you want to remove the latter.
Once you do this, users will only be able to access your team account via SSO. :::
Removing a user's access from your SSO platform will remove their access from Typesense Cloud for their next session. If you need to revoke their access immediately, you want to also visit your team's account page in Typesense Cloud and remove the user from under the "Team Management" section.
You can assign roles with different permissions to each user in your team, however this needs to be done from within Typesense Cloud.
Read this dedicated guide article on Role-Based Access Control for more information.
Email us at support at typesense dot org if you have any questions or run into any issues.