Appearance
Single Sign-On (SSO)
EEforce supports sign-in through an OpenID Connect (OIDC) identity provider, so people can use their company account — with whatever multi-factor authentication your company already enforces — instead of an EEforce password. It works for the desktop app and the EEforce 365 web portal.
Anything that speaks OIDC works: Entra ID (Azure AD), Keycloak, Okta, Auth0 and others.
Licensed feature
SSO is a licensed feature. If your licence doesn't include it, the settings page shows a licence notice — contact your reseller to add it.
How it works
- You register EEforce as an application at your identity provider and give its details to EEforce: the provider's Authority / Issuer URL, a Client ID and a Client Secret.
- From the issuer URL EEforce discovers the rest by itself — where to send users to sign in, and where to fetch the provider's signing keys (the provider's OIDC discovery document). The Authorization URL and Token URL fields are filled in from that discovery; you only override them if a provider misbehaves.
- When someone clicks Sign in with SSO, EEforce opens the provider's sign-in page and uses the Authorization Code flow with PKCE. The provider then sends the sign-in back to a redirect URI: an address on the user's own computer for the desktop app, an address on your server for EEforce 365. The token that comes back is validated against the provider's published keys before the user is let in.
- The first time a user signs in this way, EEforce creates their account from the name and e-mail claims in the token. No password is stored.
Before you start
You will need:
- An OIDC identity provider, reachable from both the EEforce server and your users' machines.
- An application registered in it, with:
- a Client ID and Client Secret;
- both EEforce redirect URIs (exact strings, no wildcards):
- EEforce Client (the desktop app):
http://localhost:8001, orhttp://localhost:<port>if you choose another local redirect port (see The desktop app's redirect URI); - EEforce 365 (the web portal):
https://<SERVER-ADDRESS>/365/sso/callback, where<SERVER-ADDRESS>is the Server Address set under Settings → General. The Test SSO button in the web admin signs in through this one too;
- EEforce Client (the desktop app):
- the Authorization Code grant enabled;
- the scopes
openid,profileandemail.
If one of them is missing, SSO sign-in fails in that app. The SSO settings page shows both with your server's address filled in, each with a Copy button.
Configuring SSO
SSO is configured in the web admin (your server address followed by /admin).
First set the Server Address under Settings → General: the fully qualified address your users and your identity provider reach the server at, for example https://eeforce.company.com. The EEforce 365 redirect URI is made from it, so it stays the same whatever name someone opens EEforce at. See Settings.
Then go to Settings → SSO Settings:

| Setting | Description | Example |
|---|---|---|
| Enable SSO Authentication | Master switch | On/Off |
| Authority / Issuer URL | The provider's issuer URL — this is what everything is discovered from | https://sso.kestrel.local/realms/kestrel |
| Client ID | The application's client ID at the provider | eeforce |
| Client Secret | Its client secret | |
| Authorization URL / Token URL | Filled in automatically from discovery — override only if needed | |
| Scope | The scopes to request | openid profile email |
| Email Address Scope | The token claim EEforce uses as the user's e-mail/identifier | upn (the default), email, preferred_username |
| Client Sign-In Window | Where the provider's page opens: Embedded window (inside EEforce) or External browser | Embedded window |
Under Redirect URIs — register both at your identity provider are the two addresses to add at the provider:
| Redirect URI | Description | Example |
|---|---|---|
| 1. EEforce Client redirect URI | Where the desktop app receives the sign-in, on each user's own computer: always http://localhost:<port>. You choose only the local redirect port; leave it empty for 8001 | http://localhost:8123 |
| 2. EEforce 365 redirect URI | Where the web portal receives the sign-in. It is made from the Server Address (Settings → General), so it can't be edited here. Test SSO uses it too | https://eeforce.company.com/365/sso/callback |
When the Server Address is set, EEforce 365 always signs in through it: someone who opened the portal under another name — the server's IP address, say — is taken to the Server Address first. Without a Server Address, the page shows the address you opened the web admin at, with a warning, and each address your users open EEforce 365 at has to be registered.
Click Save SSO Settings, then click Test SSO: it signs in through the provider in a pop-up window and reports each step, without creating or changing any user.
The desktop app's redirect URI
When someone signs in with SSO in the desktop app, the identity provider sends the result back to an address on that person's own computer. By default it is http://localhost:8001.
The address is always http://localhost:<port>; you choose only the port. Choose another one if port 8001 is already used on your users' computers — by another application or a local service. With External browser, EEforce listens on that port while the user signs in; if another program already uses it, the sign-in stops with a message saying that the address is already in use. With Embedded window, EEforce reads the sign-in straight from its own window, so a busy port doesn't matter there — the address must still be registered at the provider.
The port can be anything from 1024 to 65535. The address uses plain http://, not https://, because it never leaves the user's computer.
To change the port:
- Add the new address,
http://localhost:<new port>, to the application at your identity provider. Keep the old one for now. - Enter the new port next to
http://localhost:under 1. EEforce Client redirect URI, and click Save SSO Settings. Copy copies the full address. - Desktop apps use the new address the next time they start. Once everyone has restarted EEforce, remove the old address from the provider.
Older desktop apps
Desktop apps older than 26.12 always use port 8001. Update them before you change the port — see Updating EEforce.
Registering EEforce at your identity provider
Each provider gets the same two redirect URIs. In the steps below, http://localhost:8001 is the default EEforce Client redirect URI. If you chose another local redirect port, use http://localhost:<that port> instead.
Keycloak
- In the Keycloak admin console, select your realm and create a client.
- Client ID
eeforce, protocolopenid-connect, access typeconfidential. - Valid redirect URIs:
http://localhost:8001/*(EEforce Client) andhttps://<SERVER-ADDRESS>/365/sso/callback(EEforce 365). - Copy the client secret from the Credentials tab. The issuer URL is
https://<keycloak-host>/realms/<realm>.
Entra ID (Azure AD)
- Register an application named EEforce.
- Add both redirect URIs: platform type Mobile and desktop applications for the EEforce Client
http://localhost:…address, and Web for the EEforce 365 callback. - Create a client secret under Certificates & secrets and note the application (client) ID.
- Use
https://login.microsoftonline.com/<tenant-id>/v2.0as the issuer.
Okta
- Create an OIDC application (Web and/or Native), grant type Authorization Code.
- Add both sign-in redirect URIs: EEforce Client and EEforce 365.
- Copy the client ID and secret; the issuer is
https://<company>.okta.com.
What your users see
- On the desktop app's sign-in screen, a Sign in with SSO button appears once SSO is enabled. Ticking Remember my user name during an SSO sign-in turns on automatic sign-in at the next start — undo it with Remove Automatic Login. Full details: Signing In.
- EEforce 365 shows the same button on its sign-in page.
- SSO users cannot change an EEforce password (there isn't one) and cannot be given one; their group memberships and project roles work exactly like everyone else's.
- Want accounts to exist before the first sign-in? Use SCIM provisioning and your provider will keep them up to date.
Troubleshooting
| Issue | Possible cause | Resolution |
|---|---|---|
| No SSO button on the sign-in screen | SSO not enabled, or not saved | Check Enable SSO Authentication and save |
| "invalid_client" from the provider | Wrong client ID or secret | Copy both again from the provider's application page |
| Redirect error or "invalid redirect URI" | The redirect URI doesn't match the provider exactly | Register the addresses exactly as the SSO settings page lists them; check for a missing trailing slash, an http/https difference or a different port |
| The desktop app says the sign-in address "is already in use by another program" | Another program on that computer uses the desktop app's redirect port (External browser only) | Close that program, or choose a free local redirect port under EEforce Client redirect URI and register the new address at the provider |
| EEforce 365 says SSO sign-in "has to start at" an address and "could not get there" | The Server Address isn't reachable under that name from the user's computer, or a proxy sends the browser elsewhere | Check that users can open EEforce at the Server Address (Settings → General) and that it is the name your proxy or certificate uses |
| Discovery fails or times out | Wrong Authority / Issuer URL, or the server can't reach the provider | Use the issuer URL itself (not the authorize endpoint) and verify the server's network access to it |
| User's e-mail or ID looks wrong | Wrong claim mapped | Adjust Email Address Scope (upn, email, preferred_username) |
| Sign-in works but no account is created | The token has no usable subject/name claims | Check the provider returns the standard OIDC claims for this client |

