Service provider values
Your IdP needs Sazabi’s values. Go to Settings > Single sign-on; they’re under Service provider details, each with a copy button.sazabi sso connection get prints them too.
Sazabi doesn’t sign its SAML requests, so your IdP doesn’t need a service provider certificate.
Add Sazabi at your identity provider
- Okta
- Microsoft Entra ID (SAML)
- Microsoft Entra ID (OIDC)
- Google Workspace
- OneLogin
- JumpCloud
- PingOne
- Other SAML 2.0
- Other OIDC
Okta supports SAML and OIDC. Prefer SAML; these steps use it.
1
Create the SAML app
In the Okta Admin Console, go to Applications > Applications and choose Create App Integration. Choose SAML 2.0 and name the app Sazabi.2
Set the SAML settings
Under SAML Settings, set:- Single sign-on URL: the SAML ACS URL.
- Audience URI (SP Entity ID): the SAML entity ID.
- Name ID format: Persistent.
- Application username: Custom, with
user.getInternalProperty("id"). The name ID is then the Okta user ID, which never changes.
3
Add the attribute statements
Finish creating the app. Then, on its Sign On tab, add these attribute statements:4
Assign people
Assign the people and groups who should sign in to Sazabi.5
Copy the identity provider values
On the Sign On tab, choose View SAML setup instructions. Keep it open; it has the three values the connection needs: the identity provider issuer, the single sign-on URL and the X.509 certificate.Other identity providers
These identity providers also support Sazabi’s values. Set them in the fields below, then bring back the values in the last columns.
For SAML, set the name ID and the
email, givenName and surname attributes, and sign the assertion, as described under Other SAML 2.0. For OIDC, use the sub, email and name claims and the openid, email, profile and offline_access scopes described under Other OIDC.
Create the connection
- Dashboard
- CLI
1
Open the connection form
Go to Settings > Single sign-on and choose Set up connection.2
Enter your identity provider’s values
Choose SAML 2.0 or OpenID Connect, and enter your IdP’s values:3
Choose the default role
Choose the Default role, Member or Viewer, and whether to Add people on their first sign-in. See Single sign-on.Adding people on first sign-in
With Add people on their first sign-in on (the default), a person your IdP lets in who isn’t a member yet joins the organization at their first sign-in with the connection’s Default role, Member or Viewer. Each new member counts toward your plan’s members. Turn it off to let only existing members sign in through SSO. Change it, and the default role, with Edit connection. New people are also added only while Just-in-time member provisioning is on under Settings > Organization (on by default), which only owners can change. People you removed stay removed: an SSO sign-in doesn’t add back a member an admin removed. Invite them again from Settings > Members to restore access. An invitation to an address on a domain that requires SSO can be accepted only after signing in through SSO as that address.Add an app dashboard tile
Sazabi refuses a sign-in response it didn’t ask for, so a tile in your IdP’s app dashboard must open Sazabi’s Initiate login URL. The URL starts an ordinary SSO sign-in for your connection. Copy it from Service provider details, fromsazabi sso connection get, or from the initiate_login_url attribute of the sazabi_sso_service_provider data source. If the connection is deleted or doesn’t allow sign-in, the tile lands on the SSO error page.
- Okta (SAML app): Okta’s own tile for a SAML app sends a response Sazabi didn’t ask for. On the app’s General tab, check Do not display application icon to users. Then add a Bookmark App whose URL is the Initiate login URL, and assign it to the same people and groups.
- Okta (OIDC app): on the app’s General tab, edit General Settings. Set Login initiated by to Either Okta or App, check Display application icon to users, set Login flow to Redirect to app to initiate login (OIDC Compliant), and paste the Initiate login URL into Initiate login URI.
- Microsoft Entra ID (SAML): set Sign on URL under Single sign-on > Basic SAML Configuration to the Initiate login URL. My Apps then starts sign-in at Sazabi.
- Microsoft Entra ID (OIDC): set the app’s home page URL to the Initiate login URL.
- Google Workspace: Google’s app launcher signs people in to a custom SAML app by sending a response Sazabi didn’t ask for, and its Start URL field only sets where the app goes after sign-in. Sazabi refuses that response, so there’s no working Google tile. People sign in from Sazabi’s sign-in page or a bookmark of the Initiate login URL.
- JumpCloud: turn on Show this application in User Portal. With Login URL set to the Initiate login URL, the tile starts sign-in at Sazabi.
- PingOne (OIDC app): the application portal shows OIDC apps that have an Initiate Login URI. Set it to the Initiate login URL.
- Other IdPs: if the IdP’s tile can open a URL, set it to the Initiate login URL. If the tile can only send a SAML response, hide it and add a bookmark or link app with the Initiate login URL instead.
Change or delete the connection
- Edit connection changes the connection’s fields. Changing an identity provider field (issuer, single sign-on URL, certificates, metadata URL, client ID or client secret) makes the connection untested until a test passes again.
- Allow sign-in turns sign-in through the connection off and on.
- Delete connection deletes it, as does
sazabi sso disconnect. It ends the sessions and MCP access of everyone who signed in through it; their accounts and memberships stay.
Verify the connection
1
Start the test
On Settings > Single sign-on, choose Test connection, or runsazabi sso connection test. If your browser is signed in to your IdP’s admin console, such as Okta’s, run the test from a private window.2
Sign in at your identity provider
Sign in at your IdP with an account assigned to the Sazabi application.Further reading
SSO enforcement
Require SSO for your domains once the test passes.
Troubleshooting SSO
Certificate, audience, issuer and sign-in failures.