Help centre
العربية Back to sayvara.com

Single sign-on (OIDC, SAML 2.0) and SCIM provisioning

Let your team sign in to Sayvara with your own identity provider, and create and remove accounts automatically with SCIM 2.0.

Updated

What it does

  • Single sign-on: your team signs in to Sayvara with their work account, through your own OpenID Connect (OIDC) or SAML 2.0 identity provider. For example Okta, Auth0, Keycloak, Ping, AD FS, OneLogin, or Microsoft Entra ID set up as an OIDC provider.
  • SCIM 2.0 provisioning: your directory creates, changes and removes people in Sayvara. Removing someone ends their sessions.
  • Groups and roles: groups sent by your directory decide each person's role and which branches they see.

Status

Part Status
OpenID Connect Available
SAML 2.0 Available
SCIM 2.0 provisioning, groups and roles Available

What you need first

  • In Sayvara: the owner or admin role, and a plan that includes single sign-on.
  • In your identity provider: an administrator who can create applications.
  • Access to your DNS, to prove you own your email domain.

Set it up

Open Settings > Single sign-on.

1. Verify your email domain

  1. Under Your email domains, select Add domain and type your domain, for example organisation.sa.
  2. Sayvara shows a TXT record with a Name and a Value. Add it at your DNS provider.
  3. Select Check now. When the domain shows Verified, go on.

DNS can take up to an hour. Only addresses in verified domains can use single sign-on.

2a. Connect an OpenID Connect provider

  1. Under Sign-in providers, find OpenID Connect and select Set up.
  2. Copy the Redirect URI to register at your provider from the form.
  3. In your provider, create a web application with the authorization code flow. Register that redirect URI. Allow the scopes openid, email and profile.
  4. Back in Sayvara, fill in:
    • Issuer URL: exactly as your provider publishes it, for example https://login.example.com/.
    • Client ID and Client secret.
  5. Choose the join rules (see below) and select Save.

For Microsoft Entra ID, the issuer URL is https://login.microsoftonline.com/<your tenant ID>/v2.0.

2b. Connect a SAML 2.0 provider

  1. Under Sign-in providers, find SAML 2.0 and select Set up.
  2. Under For your identity provider, copy the Entity ID (audience) and the Reply URL (ACS), or select Open metadata (XML) and give that file to your provider.
  3. In your provider, create a SAML application with those values. Send the user's email address as an attribute (for example email or mail), and the display name if you can.
  4. Back in Sayvara, fill in:
    • IdP entity ID.
    • IdP sign-in URL (HTTP-Redirect).
    • IdP signing certificate (PEM): one to three certificates, each from BEGIN CERTIFICATE to END CERTIFICATE.
  5. Choose the join rules and select Save.

Join rules

  • Let people from verified domains join without an invite: new people from your domains get an account the first time they sign in, within your plan's seats. Owners and administrators are never created this way.
  • Role for people who join this way: Follow-up agent or Manager.

If you leave the first box off, people still need an invite.

3. Test

Select Test sign-in, then Open the test tab. Your provider opens in a new tab. If you sign in there with a different account, this browser signs in as that account. To test with another account, use a private window.

4. Turn on SCIM provisioning (optional)

  1. Under Automatic user provisioning (SCIM 2.0), copy the SCIM base URL.
  2. Select Create token, give it a Token name, pick the Provider, and create it.
  3. Copy the token from Copy your new token now. It is shown only once.
  4. In your identity provider, turn on SCIM provisioning with the base URL and the token (as a Bearer token).

Sayvara supports SCIM Users and Groups.

5. Map groups to roles (optional)

Groups appear under Groups and roles after your provider sends them over SCIM. For each group, select Edit:

  • Role in Sayvara: Administrator, Manager or Follow-up agent.
  • Units this group sees: pick branches, or none for the whole organisation.

Members follow at once. Owners never change.

How your team signs in

On the sign-in page, people select Sign in with SSO, type their work email and select Continue. Sayvara sends them to your provider.

Data shared

Direction What
Your provider to Sayvara (sign-in) The person's email address, name and a stable user ID
Your provider to Sayvara (SCIM) Users (name, email, active or not) and groups with their members
Sayvara to your provider Sign-in requests only. Sayvara never writes to your directory.

The client secret is stored encrypted. Sayvara keeps only a fingerprint of each SCIM token.

Disconnect

  • On a provider, select Disconnect. People can no longer sign in that way. Its SCIM tokens and groups are removed too.
  • To stop SCIM only, select Revoke on the token.
  • To remove a domain, select Remove next to it.

Troubleshooting

Message What to do
A message says the TXT record was not found. Check the record's name and value. DNS can take up to an hour, so wait, then select Check now again.
Another organisation has already verified this domain. Contact support if it is yours. Write to support@sayvara.com.
We could not read the OpenID configuration of this issuer. Check the issuer URL. Copy the issuer URL exactly, including the last / if your provider shows one.
The certificate is not a valid PEM X.509 certificate. Paste the whole certificate, with the BEGIN and END lines.
This certificate has expired. Ask your IdP administrator for the current one. Paste the current certificate. You can paste up to three during a change-over.
Use an https address on a public host name. The provider's addresses must start with https:// and be reachable from the internet.
Your plan does not include single sign-on. Ask us about an upgrade. Ask us about a plan with single sign-on.
Your organisation has not turned on this sign-in for this address. Sign in with email instead. The person's domain is not verified, or the provider is not connected.
A message says the account has no access and asks the person to get an invite from the administrator. Invite the person, or turn on joining without an invite.

FAQ

Can people still sign in with a password? Yes. Single sign-on is an extra way in; passwords and sign-in links still work.

Can I connect both OIDC and SAML? You can set up one of each.

Can I use Active Directory? Yes, through AD FS as a SAML 2.0 provider.