Single sign-on (SSO)

Single sign-on lets your staff sign in to DataMind OS with their company account. Use this page to connect your identity provider, decide which email domains may sign in, and, if you want, turn off password sign-in for everyone except the built-in Admin role.

Before you start

You need the SSO Configuration Manager permission to connect or change SSO. The SSO Configuration Viewer permission lets you read the settings without changing them. You also need access to your provider's admin console, where you register the app. For the wider area, see Administration.

If SSO has not been set up yet and you cannot set it up, the panel shows Single sign-on is not configured and asks you to contact an administrator with SSO permissions.

Connect Microsoft Entra ID or Google Workspace

The wizard has four steps: Identity provider, Configure your provider, Access control and Review and activate.

  1. Open Admin > System Configuration > SSO.
  2. In Identity provider, choose Microsoft Entra ID or Google Workspace, then click Continue.
  3. In Configure your provider, follow the guide on the left. It walks you through registering an app with your provider, step by step, with a link that opens the Microsoft Entra admin center or the Google Cloud Console in a new tab. Where the guide shows the Callback URL, use its copy control. The provider must list this address as an allowed redirect URI.
  4. Under Paste the values here, enter the Issuer URL, Client ID and Client secret that your provider gave you, then click Continue. Where the guide offers Use this value, it fills a fixed value for you.
  5. In Access control, add your Allowed domains and choose a Default role, then click Continue.
  6. In Review and activate, check the summary. Turn on Enable SSO if you want Sign in with SSO to show on the login page, then click Save configuration. The message "SSO configuration saved." confirms the save.
Tip

For Google Workspace, the guide's Use this value button fills in the Issuer URL for you.

Your provider must send the user's email address with each sign-in. The Microsoft Entra guide includes a step that adds the claims for it.

Continue checks the current step before it moves on. The fields show what is missing, for example "Issuer URL is required", "Must be an absolute https URL", "Client ID is required", "Add at least one allowed domain" or "Default role is required". On a new configuration the client secret is required too: "Client secret is required". If the save fails, the reason shows above the buttons, falling back to "Failed to create SSO configuration" or "Failed to update SSO configuration". After you open Review and activate, Save configuration stays off for a moment, so a stray double click cannot save twice.

Choose who can sign in

Allowed domains lists the email domains that may sign in with SSO. Type a domain and press Enter; a comma also adds it. Backspace in the empty field removes the last domain, and entries are saved in lowercase with duplicates removed. Enter the domain only, such as the part after the @ in your staff email addresses. Do not enter a web address or the @ itself, and do not add a port. You need at least one domain. The field hint reads "Press Enter to add a domain. Bare FQDNs only - not a URL, not @domain." If the entry is not a bare domain, an error asks you to enter one.

Default role is given to each person whose account is created on their first SSO sign-in. Only active roles appear in the list, and the field notes "Assigned to users created on their first SSO login." If that role is deactivated or deleted later, saving the configuration is refused with "Default role does not exist or is not active"; pick an active role. To change what a role can do, see Roles and permissions.

Test sign-in

  1. In the SSO panel, click Test sign-in.
  2. In the Test SSO sign-in dialog, click Open in new tab. This starts a real sign-in against your identity provider in a new browser tab.
  3. Sign in with an account from an allowed domain.
Note

Test sign-in works only when SSO is enabled. Until then, hovering over the button shows "Enable SSO first to test a sign-in". Turning on Enable SSO also shows Sign in with SSO on the login page straight away, for everyone.

Warning

If you complete the test sign-in as a different user, your current administrator session is replaced. Complete the test as yourself, or sign in again afterwards.

Turn on SSO-only login

SSO-only login means that only users with the built-in Admin role can sign in with a password. Everyone else signs in with SSO.

Before you turn it on, check two things:

  1. In the SSO panel, turn on Enable SSO login only.
  2. In the Enable SSO-only login? dialog, click Enable and sign out. The dialog says that everyone except users with the built-in Admin role will only be able to sign in with SSO, and warns that turning it on immediately revokes every user session, including yours.

Turning it on revokes every session and returns you to the login page. A user who tries to sign in with a password sees "Password login is disabled on this instance, sign in with SSO".

Turning it off takes effect at once, with no confirmation, and password sign-in returns for everyone. The message "Password login enabled for users." confirms the change.

Edit the configuration

The SSO tab shows the saved connection: the heading names your provider, or reads OpenID Connect provider for any other OpenID Connect issuer. Below it, Service provider details and Identity provider configuration list the saved values. The Client secret row shows only Set or Not set, and the badge reads Active or Disabled. A switch here turns SSO on or off; the messages "SSO enabled." and "SSO disabled." confirm the change.

  1. Click Edit configuration. The wizard opens at Configure your provider.
  2. Change what you need, check Review and activate, then click Save configuration. The message "SSO configuration updated." confirms the save.
  3. Click Cancel while editing to leave without saving. It appears only while you are editing.

To change the client secret, paste the new value into Client secret. To keep the stored secret, leave the field blank; the field reads "Currently set - leave blank to keep it".

The Callback URL cannot be changed. Its note reads "Fixed for this server - can't be changed here. Your identity provider must list this as an allowed redirect URI." You can copy it from Service provider details in the SSO panel.

What happens at sign-in

When SSO is enabled, the login page shows Sign in with SSO. When a user signs in with the provider:

Messages you may meet are collected in Administration troubleshooting.

Settings

SettingWhat it doesDefault
Issuer URLThe address of your identity provider. A discovery document URL also works: the /.well-known suffix is removed when you leave the field. Must be an absolute https address.Empty, required
Client IDThe application ID your provider issued.Empty, required
Client secretThe secret your provider issued. Afterwards the panel shows only whether it is set.Required on first setup
Callback URLThe address your provider sends users back to after sign-in.Set by the server, cannot be changed
Allowed domainsThe email domains that may sign in with SSO.Empty, at least one required
Default roleThe role given to accounts created on a first SSO sign-in. Only active roles are offered.Empty, required
Enable SSOTurns SSO on and shows Sign in with SSO on the login page.Off
Enable SSO login onlyOnly users with the built-in Admin role can sign in with a password. Needs SSO to be on.Off

Permissions

PermissionWhat it lets you do
SSO Configuration ViewerOpen the SSO tab and read the connection details.
SSO Configuration ManagerSet up SSO, edit it, turn SSO on or off and turn on Enable SSO login only.

Without the Viewer permission, the SSO tab does not appear. Without the Manager permission, you can read the settings but not change them. See also the Permission reference.

Questions, answered

Why does a user see "Your email domain isn't authorized for SSO sign-in."?

The domain of their email address is not in Allowed domains. Click Edit configuration, add the domain in Allowed domains, and save.

Can I still sign in with a password after SSO-only login is on?

Only users with the built-in Admin role can. Everyone else must use SSO, and a password attempt shows "Password login is disabled on this instance, sign in with SSO".

Why was I signed out when I turned on SSO-only login?

Turning it on revokes every session, so that everyone signs in again under the new rule. Sign in with SSO, or with your password if you have the built-in Admin role.

What happens to SSO-only login if I turn SSO off?

It turns off too, so password sign-in returns for everyone. You can turn Enable SSO login only on again once SSO is back on.

Can I change the Callback URL?

No. It is fixed for this server. Copy it from Service provider details and register it as shown in your provider.

Why does "Continue" not move to the next step?

Continue checks the current step first. Fill the fields it points to, for example the Issuer URL, the Client ID or the Default role. On a new configuration, the Client secret is required too.

Can I paste the provider's discovery document URL instead of the issuer?

Yes. Paste it into Issuer URL; the /.well-known suffix is removed when you leave the field, so the stored value is the plain issuer address.

Do I need to enter the client secret again when I edit the configuration?

Only if you want to change it. Leave Client secret blank to keep the stored one; the field reads "Currently set - leave blank to keep it". When you set SSO up for the first time, the secret is required.

Users see an "Approval required" dialog. What now?

Your provider's administrator must grant admin consent for your organisation. In the Microsoft Entra guide, this is the Grant admin consent step: open Permissions on the enterprise application and approve it there.

Can I use a provider other than Microsoft Entra ID or Google Workspace?

The setup wizard guides only these two providers. A saved configuration that uses another OpenID Connect issuer appears as OpenID Connect provider in the SSO panel.

My test replaced my administrator session. Why?

The test sign-in opens in the same browser, so finishing it as a different user replaces your administrator session in every tab. Sign in again as yourself.

Can I see SSO sign-in attempts?

Yes. Open the SSO Logs tab in Audit, sign-in and notification logs.