Single sign-on with OIDC and SAML
Connect Okta, Microsoft Entra ID, Google Workspace or Keycloak to LogiStack over OIDC or SAML, test the sign-in, and let your email domain join automatically.
Single sign-on (SSO) lets people sign in to LogiStack with your company's identity provider (IdP) instead of a LogiStack password. You connect the provider once, over OpenID Connect (OIDC) or SAML 2.0, and tie it to your email domain. Anyone at that domain who signs in through it joins the organization with the role you choose. Set it up when your team already lives in Okta, Microsoft Entra ID, Google Workspace, Keycloak or a similar provider.
You need the Owner or Admin role.
OIDC or SAML?
Prefer OIDC when your provider supports it. The wizard discovers the endpoints from one URL and tests a real sign-in before saving. Use SAML when your provider or your security team requires it, for example ADFS, or an Entra ID tenant that only allows SAML apps.
| OIDC | SAML | |
|---|---|---|
| You give LogiStack | Issuer URL, client ID, client secret | Metadata URL or metadata XML |
| You give the IdP | Redirect URI | ACS URL and Entity ID |
| Built-in sign-in test | Yes | No |
Open Authentication
In the sidebar, under Settings, select Authentication. The page holds the two-factor requirement and the list of Identity providers.

Add an OIDC provider
Start the wizard
Select Add OIDC provider. The Add an OIDC provider wizard opens on the Identity provider step.

Enter the issuer URL
In Issuer URL, paste your provider's issuer. It must start with https://. See provider examples for the exact value.
Discover the endpoints
Select Discover. The LogiStack server fetches /.well-known/openid-configuration from the issuer. On success it shows "Found logical.okta.com" and lists the Authorization, Token, User info and Keys (JWKS) endpoints and the supported Scopes. LogiStack asks for openid, email and profile.
Select Continue.
Register LogiStack at your provider
The Client credentials step shows the Redirect URI. Copy it with the copy button and create a web application at your provider with that redirect URI.
Paste the client credentials
Paste the application's Client ID and Client secret. The secret is saved on the server and never shown again. Select Continue.
Choose who joins automatically
On Who joins automatically:
- Email domain: your company domain without the
@, for examplelogical.it. It's pre-filled from your own email. When someone types an address at this domain on the sign-in page, LogiStack picks this provider. - Joins as: the role new people get, for example Developer or Viewer. Owner isn't offered: an identity provider shouldn't hand out ownership.
Existing members keep their role. Select Continue.
Test the sign-in
On Test sign-in, select Test sign-in. LogiStack saves the provider, then opens your provider in a new window. Sign in there with an account at your domain. The window reports the result back and closes itself.
The test signs this browser in as the account you used at the provider. Afterwards you may need to sign back in as yourself.
No test account at hand? Select Skip the test. A wrong secret or redirect URI then only shows when someone first signs in.
Review and finish
The Review step summarizes the issuer, client ID, email domain, role and test result. Select Finish.
LogiStack confirms with "logical.okta.com connected" and lists the provider under Identity providers, for example https://logical.okta.com · OIDC · client …9fA2 · @logical.it joins as Developer.
OIDC provider examples
- In the Okta Admin Console, go to Applications › Applications › Create App Integration.
- Choose OIDC - OpenID Connect and Web Application.
- Set Sign-in redirect URIs to the LogiStack Redirect URI.
- Assign the people or groups who may use LogiStack.
- Copy the Client ID and Client secret into the wizard.
Issuer URL: https://your-org.okta.com
Add a SAML provider
Start the wizard
On Settings › Authentication, select Add SAML provider. The Add a SAML provider wizard opens on Register LogiStack at your IdP.

Register LogiStack at your provider
Create a SAML application at your provider with the two values shown:
- ACS URL, also called Reply URL or Single sign-on URL. It looks like
https://stack.example.com/api/auth/sso/saml2/sp/acs/saml-bdef3c15. - Entity ID, also called Audience URI or Identifier.
Have the provider send the user's email address as the NameID, or as an attribute named email. Then select Continue.
Give LogiStack the provider's metadata
On Identity provider metadata, pick a Metadata source:
- Metadata URL: LogiStack fetches it from the server. Paste the
https://URL, for examplehttps://idp.company.com/saml/metadata. - Paste XML: for a downloaded metadata file. Paste the whole document, starting with
<md:EntityDescriptor. Files over 100 KB aren't accepted.
Select Continue.
Choose who joins automatically
Enter the Email domain (for example logical.it) and the Joins as role, the same as for OIDC. Select Continue.
Review and save
Check the summary and select Save provider. LogiStack checks the metadata and its signing certificate as it saves.
The SAML wizard has no built-in test. Check it right away by signing in from a private browser window (see Sign in with SSO).
SAML provider examples
- Applications › Create App Integration › SAML 2.0.
- Single sign-on URL: the LogiStack ACS URL. Audience URI (SP Entity ID): the Entity ID.
- Name ID format: EmailAddress. Application username: Email.
- On the app's Sign On tab, copy the metadata URL and choose Metadata URL in the wizard.
Sign in with SSO
While at least one provider exists, the sign-in page offers Continue with SSO.

- On the sign-in page, select Continue with SSO.
- In Work email, type your address, for example
[email protected], and select Continue. The domain picks the provider. - Sign in at your identity provider. You come back to LogiStack signed in.
The first time, someone at the domain joins the organization with the provider's Joins as role. People who were already members keep their role.
Remove a provider
On Settings › Authentication, select the trash button on the provider's row and confirm.
Nobody can sign in through a deleted provider, and its linked sign-ins are removed. Members it brought in stay, with their roles. People who never set a LogiStack password can't sign in until you add a provider again.
Combine SSO with two-factor
If you require two-factor authentication and your provider already enforces MFA, turn on Trust the identity provider's MFA. Members who can only sign in through SSO then count as enrolled.
Troubleshooting
- "No discovery document there". The issuer URL is wrong, or the server can't reach it. Open
<issuer>/.well-known/openid-configurationin a browser to check. Leave out trailing paths such as/oauth2/v1. - Discovery fails for a provider on your private network. LogiStack refuses private addresses by default. See Network safety in Settings › General.
- The test window shows "Sign-in failed". The provider returned an error, usually a redirect URI mismatch or a wrong client secret. Compare the redirect URI character for character, then select Test sign-in again.
- The test window says it reports a test sign-in back to LogiStack. It was opened without the wizard. Close it and start the test from the wizard.
- SAML sign-in comes back without an email. Configure the provider to send the email as the NameID or as an
emailattribute. - "That doesn't look like SAML metadata (no EntityDescriptor)." You pasted something else, such as the certificate alone. Paste the full metadata XML.
Instance admins
Choose who may update LogiStack, add and remove servers and change instance-wide settings, apart from organization owners and admins.
Two-factor authentication and passkeys
Protect LogiStack sign-ins with an authenticator app, backup codes or passkeys, manage your sessions, and require two-factor for the whole organization.