Configure single sign-on
Connect an OpenID Connect identity provider to your organisation. You need an Assure admin session, identity-provider administration, and DNS access for each email domain.
Connect the provider
- Set
NIMSTEAD_PUBLIC_URLto the server's HTTPS origin. - Register
<NIMSTEAD_PUBLIC_URL>/api/auth/sso/callbackas the redirect URI at the provider. - Open Settings → Single sign-on (OIDC).
- Enter the issuer URL, client ID, client secret, and allowed email domains.
- Leave Require SSO off and save the settings.
- Publish each TXT name and value shown under Domain ownership.
- Select Verify domains and confirm each domain is verified.
Test before enforcement
Sign in through the provider in a separate browser session. Confirm that the user joins the intended organisation and has the intended role.
Only then enable Require SSO. It disables password sign-in for non-admins. Admin password sign-ins remain available as break-glass access and are recorded and alerted.
If verification fails, check the exact TXT name and value, then allow DNS propagation before retrying. If provider sign-in fails, check the issuer and exact redirect URI. Keep the existing admin session open until the new sign-in works.
Leave the issuer empty to disable the SSO configuration. The configuration reference describes the DNS resolver option.