Back to TresekoView full library

Active Directory, LDAP and OIDC

Corporate authentication with external users and internal Treseko roles.

Practical guide

1 guide found

All guides

Active Directory, LDAP and OIDC

Corporate authentication with external users and internal Treseko roles.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when the company wants to authenticate against AD, LDAP or OIDC, but keep QA permissions inside Treseko.

Expected result

The user logs in with their corporate credentials and Treseko applies an internal role, visible to administrators and auditable.

AD / LDAPIdentityPassword
TresekoLinked userRole and permissions

Treseko can authenticate against AD/LDAP or OIDC and link existing directory users. The provider supplies identity; Treseko decides platform permissions. This integration requires the Premium auth.sso capability.

Roles are assigned inside Treseko to avoid surprises. Someone existing in the directory does not mean they can administer QA projects.

AD user search validates existence before saving links, and the UI differentiates local users from linked AD users.

Recommended flow

  1. Open Configuration → Preferences and scroll to Active Directory.
  2. Enable the integration and choose Direct LDAP or OIDC / SSO.
  3. Configure the LDAP/AD server and base DN, or the OIDC issuer and client.
  4. Save and use Test configuration to review the setup.
  5. Search for a user by email, UPN or name.
  6. Validate existence, create the link and assign the Treseko role.
  7. Sign out and test login with corporate AD credentials.

How to verify

  • A non-existent user cannot be saved as linked AD.
  • A valid AD user can log in with their corporate password.
  • Changing the role in Treseko changes permissions without touching AD.
  • The table differentiates Local and Linked AD.

Common pitfalls

  • Assuming an AD group equals a Treseko role.
  • Saving AD users without validating they exist in the directory.
  • Not logging login failures and then being unable to distinguish invalid credentials from LDAP issues.
active directoryldapoidcusersrolessecurity