OpenProject SSO with Keycloak (OIDC)

Use a Custom OpenID provider and import the Keycloak realm metadata.

Last updated

On this page (5)

OpenProject · Keycloak · OIDC

Before you start

  • OpenProject 15.0 or later for Custom provider in the UI and Enterprise OpenID providers add-on.
  • Keycloak realm administrator.

Configure sign-in

  1. Create an OpenID Connect client in the realm with Client authentication on and Standard flow enabled. Use its client ID and secret.
  2. In OpenProject add a Custom OpenID provider and use https://<keycloak>/realms/<realm>/.well-known/openid-configuration. Confirm the realm issuer and imported endpoints, then enter the credentials and finish setup.
  3. Register the exact callback shown by OpenProject under Keycloak Valid redirect URIs, for example https://<openproject>/auth/oidc-keycloak/callback. Use realm discovery values, not the Okta-style URLs in OpenProject’s Keycloak form example.

Verify the result

  • Confirm discovery and issuer use the same realm and public HTTPS host.
  • Sign in with a realm test user and confirm the email and username map as intended.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy OpenProject with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.