Setting up Single Sign-On
Everyone in an Engeene workspace except the Owner signs in through your identity provider (IdP) — Engeene never stores a password. The Owner signs in with an email magic link, so the workspace can always be recovered, even if the identity provider is unreachable. Inviting anyone else requires single sign-on to be set up first.
Engeene supports two protocols:
- SAML 2.0 — recommended for Google Workspace, and fully supported for Okta, Microsoft Entra ID and any standards-compliant SAML provider.
- OpenID Connect (OIDC) — available for Google Workspace, Microsoft Entra ID, Okta and any standards-compliant OIDC provider.
Before you start
You need:
- The Owner role on the Engeene workspace — only Owners can change single sign-on.
- Admin access to your identity provider's console.
Single sign-on is set up under Workspace: open the user menu, click Workspace, and in the Authentication panel click Connect to Identity Provider (or go straight to /workspace/authentication). The menu has an OpenID Connect (OIDC) section and a SAML 2.0 section, and the wizard shows exactly which values to copy in each direction.
Google Workspace (SAML 2.0) — recommended
You create a custom SAML app in the Google Admin console; no Google Cloud project or OAuth client is needed. Google shows its own details first, so you bring Google's metadata into Engeene first, then copy Engeene's details into Google.
- In Engeene, open Workspace → Authentication → Connect to Identity Provider and, under SAML 2.0, choose Google Workspace. The wizard opens on the metadata step.
- Open the Google Admin console apps page and click Add App → Add custom SAML app. Name it, for example
Engeene, and click Continue. - On Google Identity Provider details, click Download metadata and save the XML file. Click Continue in Google.
- In the Engeene wizard, drag the metadata file onto the upload area (or enter Google's SSO URL, Entity ID and certificate by hand), then click Next. The wizard shows the ACS URL and SP Entity ID.
- On Google's Service Provider details screen:
- ACS URL → Engeene's ACS URL.
- Entity ID → Engeene's SP Entity ID.
- Name ID format → EMAIL; Name ID → Basic Information → Primary email.
- Leave Signed response at Google's default and click Continue. Attribute mapping is not needed — click Finish.
- On the app page in Google, under User access, turn the app ON for everyone or for the organisational units that should use Engeene.
- In the Engeene wizard, click Save and test.
- In a private browser window, open your workspace address and click Sign in with SSO to check that it works.
Okta, Microsoft Entra ID and other SAML providers
Under SAML 2.0 the menu has Microsoft Entra ID, Okta and Generic SAML, each with instructions and a link to that provider's admin console.
- In Engeene, open Workspace → Authentication → Connect to Identity Provider and choose your provider under SAML 2.0. Copy the ACS URL and SP Entity ID.
- In your identity provider, create a SAML 2.0 application:
- Okta — Applications → Create App Integration → SAML 2.0. Set Single sign-on URL to the ACS URL, Audience URI (SP Entity ID) to the SP Entity ID, and Name ID format to
EmailAddress. - Microsoft Entra ID — Enterprise applications → New application → Create your own application → integrate any other application, then Single sign-on → SAML. Set Reply URL to the ACS URL and Identifier (Entity ID) to the SP Entity ID.
- Okta — Applications → Create App Integration → SAML 2.0. Set Single sign-on URL to the ACS URL, Audience URI (SP Entity ID) to the SP Entity ID, and Name ID format to
- Download the identity provider's metadata XML (or copy its sign-on URL, entity ID and signing certificate).
- In the Engeene wizard, drag in the metadata file (or fill in the three fields), optionally set an Allowed email domain, and click Save and test.
Sign either the assertion or the response — whichever your provider does by default (Google signs the response; Okta and Entra ID sign the assertion). Leave assertion encryption off; Engeene does not accept encrypted assertions.
OpenID Connect
Google Workspace and Microsoft Entra ID each offer a Quick setup in the menu: enter your Workspace domain or Entra tenant ID and you are done — there is no app, client secret or redirect URI to register in your provider.
For the other OIDC options, create an OAuth client (a web application) in your provider's console and enter its details in the wizard:
| Setting in your provider | Value |
|---|---|
| Application type | Web application |
| Redirect URI | The value the wizard shows — it ends in /auth/callback |
| Scopes | openid, email, profile |
- Google — create an OAuth client in the Google Cloud credentials console and enter its Client ID and secret.
- Microsoft Entra ID — register an app in the Microsoft Entra admin center, add a client secret, and enter the Client ID, secret and Directory (tenant) ID.
- Okta — create an OIDC – Web Application in the Okta admin console and enter the Client ID, secret and your Okta domain.
- Generic OIDC — enter your provider's issuer URL, Client ID and secret.
If you use a custom domain, register its redirect URI as well — see Custom Domains — Update your SSO redirect URI.
Single sign-out (optional)
If your SAML identity provider supports Single Logout, Engeene can take part: signing out at your provider ends the Engeene session, and signing out of Engeene ends the provider session.
- Re-import Engeene's service-provider metadata into your identity provider — it includes the logout address. (If your provider asks for the address directly, it is your ACS URL with
/sloin place of/acs.) - Re-upload your provider's metadata XML in Engeene, so Engeene learns your provider's logout address.
Signing out this way ends browser sessions and the desktop app's sign-in for that person. API tokens and published dashboard links keep working — they belong to the workspace, not to a signed-in person. To stop them, revoke the token on Users → Tokens, or remove the user on the Users tab. Sessions opened before single sign-out was turned on end at their normal expiry.
After single sign-on is set up
- Invite users from the Users tab. Each person gets a link to sign in through your identity provider. The roles a person receives on their first sign-in are set under Roles for New Users in the same Authentication panel.
- Owners keep signing in with the email magic link.
- The email is the identity. Engeene matches users by the email address your provider sends, so make sure it sends the verified primary email (Name ID = email for SAML, the
emailclaim for OIDC).
Troubleshooting
SAML — "The SAML response could not be verified."
- The certificate in Engeene no longer matches the one your provider signs with — providers rotate certificates. Download the metadata again and re-upload it.
- The ACS URL or SP Entity ID in your provider does not match the wizard. Copy them again.
- Assertion encryption is turned on in your provider. Turn it off.
SAML — "The sign-in request expired or was already used."
The sign-in took too long, or the browser re-sent an old response. Start again from your workspace address.
OIDC — "Redirect URI mismatch."
The redirect URI registered in your provider does not match. Copy the exact value from the wizard; with a custom domain, register that hostname's redirect URI too.
"Only email addresses ending in @… are allowed."
The user's email does not match the Allowed email domain. Remove the restriction, or have the user sign in with the right email.
The Owner cannot sign in through SSO.
That is expected — Owners always use the email magic link. If the email does not arrive, check spam and see Authentication.