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
- Create an OpenID Connect client in the realm with Client authentication on and Standard flow enabled. Use its client ID and secret.
- 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.
- 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.
