SAML and OpenID Connect single sign-on for Redmine

Redmine core signs users in through LDAP only, so SAML or OpenID Connect sign-on depends on a plugin, a fork or a reverse proxy. This page explains how to assess those options before you connect Keycloak, Entra ID or Okta.

On this page

Why Redmine SAML and OIDC sign-on needs a deliberate choice

If your security or IT team wants Redmine to sign users in through your identity provider, you should know up front that core Redmine authenticates against LDAP directories and nothing else. SAML or OpenID Connect sign-on requires a third-party plugin, a maintained fork, or an authenticating reverse proxy in front of Redmine, and that choice has to be made before you connect Keycloak, Entra ID or Okta. Once users, sessions and login paths depend on one option, switching later means retesting authentication, reworking account linking and explaining the change to every user.

Teams usually reach this decision when a central identity provider has become the rule for internal tools, when an audit asks for single sign-on and enforced multi-factor authentication on every application, or when contractors need access without a directory account. Each path carries different risks. A plugin inherits the maintenance status of its author and must be checked against the Redmine version you run, a fork moves patching and upgrade work onto your team, and a reverse proxy changes how sessions, API clients and logouts behave. Redmine 7.0 is the only fully supported line, so the compatibility check starts there.

This page compares those options, shows how to assess the maintenance status of known SAML and OIDC plugins, and sets out what each route costs to run over time. It also covers the questions to put to your identity provider team and to any implementation partner before a single integration is built, including which Redmine API clients must keep working once interactive sign-in changes.

Which SSO route fits Redmine

A plugin adds SAML or OpenID Connect sign-in to a stock Redmine installation without replacing the core application code. It is the smallest change to the application, but its quality depends on the plugin author, who sets the release cadence, the supported Redmine versions and the speed of security fixes.

  • Change footprint: The plugin hooks into the authentication flow, so the rest of Redmine stays on upstream code. This keeps upgrades simpler as long as the plugin keeps pace with each release.
  • Maintainer: Confirm who maintains the plugin, whether it publishes a release for the Redmine line you run, and how quickly security issues were fixed in its history.
  • Upgrade coupling: Each Redmine upgrade needs a compatible plugin version. Redmine 7.0.x is the only fully supported line, so check plugin compatibility before scheduling a move from 6.x.
  • Feature verification: Test attribute mapping, group handling, logout and account creation in a staging instance. Do not assume these behaviors from the plugin description alone.
  • Support model: Support terms vary by plugin. If sign-in becomes business critical, decide in advance who owns the plugin internally or whether a retainer covers it.

Check the plugin's last release date, its listed Redmine compatibility and its open security issues before you connect any identity provider to it.

Configuration options and when each fits

This table compares five ways to add SAML or OpenID Connect sign-in to Redmine, from third-party plugins to keeping LDAP and federating through Keycloak. Read each row against your upgrade cadence and who will own the code, and confirm logout behavior for each option before committing. The main takeaway is that every option that changes how Redmine authenticates adds a maintenance obligation that core Redmine does not carry for you.

OptionUpgrade impactWhat the team maintainsLogout behavior to confirmWhen it fits
Plugin-based OpenID ConnectPlugin must be checked against each Redmine release before upgradingPlugin install, configuration, and retesting after every Redmine and Rails changeWhether the plugin ends the identity provider session or only the Redmine sessionSmall user base and a team willing to test each upgrade
Plugin-based SAMLPlugin compatibility must be confirmed per release, and SAML libraries add their own updatesPlugin, certificate rotation, metadata exchange, and retestingWhether single logout requests reach the identity provider and how the plugin handles themCustomer or partner access where the identity provider only offers SAML
Forked RedmineEvery upstream release must be merged into the fork and retested, which can lag security fixesFull application code, patch merges, the build pipeline, and security responseEntirely controlled by your code, so it must be written and testedOnly when required behavior cannot be met by plugins or a proxy, and the team has Ruby on Rails capacity
Reverse proxy with header-based sign-inMostly independent of Redmine versions, but proxy and header rules must be retestedProxy configuration, trusted header rules, session handling, and access to the proxy itselfDepends on the proxy and identity provider, and Redmine sessions may outlive themOrganizations that already run an authenticating proxy and accept that Redmine trusts its headers
Stay on LDAP and federate through KeycloakRedmine stays on native LDAP support, so Redmine upgrades carry little SSO-specific changeKeycloak deployment, LDAP federation settings, and Keycloak upgradesKeycloak can end its own session, but confirm whether Redmine's session ends with itTeams that already run a directory and want a central identity provider without changing Redmine code

How a Keycloak or Entra ID login reaches Redmine

A browser sign-in starts at the user's browser, which is redirected to the identity provider rather than Redmine's login form. The identity provider checks credentials against the directory behind it, then returns a signed SAML assertion or OpenID Connect token to Redmine through the chosen plugin or reverse proxy. The key check is the trust boundary at that plugin or proxy, where the signature, audience and issuer are validated and where Redmine either links the account to an existing user or creates one. Confirm which component performs each step before you connect Keycloak or Entra ID.

The browser, Redmine, the SSO component, the identity provider and the directory behind it, with the validation boundary marked.

How to plan and test an SSO connection before go-live

This sequence turns an SSO idea into a tested connection with a known fallback, so the identity provider, the Redmine plugin route and the upgrade path are all agreed before real users depend on them.

  1. Confirm the Redmine version line

    The Redmine lead and the platform owner record the exact Redmine version in use and the target version. Redmine 7.0.x is the only fully supported line, 6.1.x receives only bug fixes and security updates, and 6.0.x receives only important security updates. Any SSO plugin must be checked against that version, including its Ruby and Rails requirements, before a route is chosen. Done when the version, its support status and the plugin compatibility notes are written into the project record and confirmed by the plugin maintainer or your own test build.

  2. Choose the authentication route

    The team compares the realistic options: a maintained SAML or OpenID Connect plugin, a maintained fork, or an authenticating reverse proxy in front of Redmine. Core Redmine supports LDAP directly, but SSO depends on plugins or a proxy. For each candidate, record who maintains it, when it last changed, which Redmine line it supports, and whether it handles group or role mapping. Done when a single route is chosen with a written list of the risks it carries and who accepts them.

  3. Register Redmine as a client in the identity provider

    The identity administrator creates an application or client for Redmine in Keycloak, Entra ID, Okta or another provider, using the callback or assertion consumer URL that the chosen plugin or proxy expects. The team agrees which signing certificate or client secret is used, where it is stored, and when it expires. Done when the provider shows the Redmine client, the test sign-in reaches the provider, and the secret or certificate location is recorded in the team's secrets register.

  4. Map login, email and identity attributes

    Using the attribute names the provider returns, the team maps the value that becomes the Redmine login, the email address used for notifications, and the first and last name. The mapping must be checked for case, uniqueness and the presence of email, since a missing email can block account creation. Admin-only attributes should not be used for access decisions unless the owner approves them. Done when a test user's claims are captured and the resulting Redmine account shows the expected login, email and name without manual edits.

  5. Test with a non-admin account

    A standard user with no administrator rights and no membership in privileged groups signs in through the new route in a staging instance. The tester checks that the user reaches only the projects and roles they should see, that sign-out works, that the REST API key behavior matches the agreed policy, and that a user who is disabled at the provider cannot sign in. Testing with an administrator alone hides most access problems. Done when a written test log shows each case passed, with the failures fixed and retested.

  6. Rehearse the upgrade with plugins

    The platform team copies the staging database, uploads, configuration and third-party plugins to a rehearsal host, then runs the upgrade steps from the upgrade guide: database migration, plugin migration, cache clearing and restart. The SSO plugin is the most likely to break, so its behavior after the upgrade is checked with a test sign-in. Done when the rehearsal completes without manual repair, the SSO sign-in still works after the upgrade, and the steps are written into the runbook with the time they actually took.

  7. Cut over with LDAP kept as a fallback

    The team switches the production sign-in to the SSO route at an agreed window, while keeping the LDAP authentication source configured and tested so administrators can sign in if the identity provider is unavailable. Administrator accounts stay on a separate, documented sign-in path. Monitoring and a rollback plan are confirmed before the switch. Done when production sign-in works for a pilot group, the fallback path has been tested once, and the owner signs off on the rollback steps.

Security risks to review before connecting Redmine to an identity provider

Redmine core signs users in with LDAP, so any SAML or OpenID Connect path depends on plugin code or a reverse proxy that sits in front of the login. The cards below cover the places where that extra layer can fail open, lock out administrators or break existing API access.

Unmaintained plugin authentication code

Most SAML and OIDC options for Redmine are third-party plugins, and some may have stopped receiving updates. Authentication code in an abandoned plugin will not get fixes when Redmine changes. Check the last commit date, the compatibility notes for your Redmine line, and the open security issues before you install anything. Plan who would maintain a fork if the plugin breaks on your next upgrade.

Fully supported line
7.0.x
Redmine support lines

Signed assertion and token validation

A SAML response or OIDC ID token is trusted only if the plugin checks its signature, issuer, audience, expiry and, for SAML, the signing certificate. A plugin that skips any of these lets a forged or replayed login through. Ask the vendor or plugin author to show where each check happens, and test with a tampered assertion and an expired token. Confirm that the certificate or JWKS URL is pinned to your identity provider.

Local admin accounts bypassing SSO

Redmine keeps local password logins unless you disable them, so an account created before SSO still works with a stored password. Attackers often target these accounts. List every administrator and every user with a local password, and decide which, if any, may keep a password. Set a documented break-glass procedure, store its credentials in a vault, and alert when it is used.

Session lifetime and two-factor interaction

SSO moves the strength of sign-in to the identity provider, but Redmine still manages its own sessions and any two-factor setting. A user who passes SSO may skip Redmine's second factor, or a session may outlive the IdP session after sign-out. Test whether logout in Redmine ends the IdP session, whether idle timeouts apply, and whether Redmine two-factor prompts still appear for the accounts that need them.

REST API key path after SSO

Many integrations authenticate to the Redmine REST API with a per-user API key or HTTP basic authentication, and those paths do not go through the browser SSO flow. Switching sign-in to SSO can break scripts, or leave keys active for accounts that should be disabled. Inventory which service accounts and users rely on API keys, confirm that the API stays enabled for them, and check that keys for departed users are revoked.

Redmine REST API

Reverse proxy header trust

When SSO is handled by an authenticating reverse proxy, Redmine trusts the user name in a request header. If clients can reach Redmine directly, or the proxy forwards a header from the browser, anyone can set it. Confirm that only the proxy can reach the Redmine application server, that the proxy strips inbound copies of the identity header, and that the header is bound to the same user the IdP authenticated.

What maintaining a fork or custom patch costs over time

A custom fork or patch carries recurring work on every Redmine upgrade, not just at go-live. Each time the Redmine version changes, the patched files must be rebased onto the new release, the changes retested against login, session and API behavior, and the patch reapplied or reworked where upstream code has moved. The upgrade guide's sequence still applies in full: back up the database and uploaded files, copy configuration, uploads and third-party plugins to the new installation, then run the database migration and the plugin migration before clearing the cache and restarting. A patched authentication path adds steps to that sequence, and the plugin migration step does not check whether your changes survived.

Who pays for this work depends on the contract. If DeployOpen builds the fork, the scope should state whether later rebases are included, billed per upgrade, or covered by a retainer. If your own team inherits it, the cost is staff time and the skills to read Ruby on Rails changes, which most internal teams hold for a single developer at most. Ask any partner to name the owner of each patch, the test suite that proves login still works, and the notice period before a new Redmine line is adopted.

Cost drivers are qualitative but predictable. The number of patched files and how deep they sit in core authentication code drive effort more than the feature itself. Patches to a plugin that has had no recent release carry extra risk, because you may end up maintaining both the plugin and your changes. Test coverage, a staging environment that mirrors production, and documented rollback steps reduce the cost of each cycle. Ask for a quote that separates the initial build, each planned upgrade, emergency security response and the hosting of the patched build, and that states what happens if upstream Redmine ships a change that conflicts with the patch.

Before committing, confirm the exit path: whether the fork can be dropped in favor of a supported plugin or a reverse proxy in front of Redmine if the identity provider changes. Record which Redmine release each patch targets and the date it was last rebased, so the next upgrade does not depend on memory. These records are part of the deliverables you should request, alongside the written scope that defines who maintains the fork after handover.

Questions buyers ask about Redmine SSO

How much does Redmine SSO with Keycloak, Entra ID or Okta cost?

Redmine itself has no license fee because it is free under GPL v2, so the cost comes from the work around it. Expect to pay for implementation (plugin selection or a fork, SAML or OIDC configuration and testing), hosting, and ongoing upgrades and maintenance. The identity provider adds its own cost. Keycloak is licensed under Apache 2.0, so the software has no license fee, but you run and patch the servers. Entra ID Free is included with Microsoft cloud subscriptions such as Azure and Microsoft 365, while Entra ID P1 is listed from $7.00 per user per month with an annual commitment, according to Microsoft's pricing page. No researched figure covers Okta, so confirm its licensing with Okta before comparing. Ask any quote to separate one-time setup from recurring plugin, hosting and support costs.

How long does Redmine SSO setup usually take?

No researched duration exists for this work, so treat any number as something to confirm in the written scope. The timeline depends on four things: whether you choose a maintained plugin or maintain a fork, which identity provider you use, how many environments (test, staging and production) need the same setup, and how much identity team time is available for app registration, claim mapping and testing. A fork adds time for owning patches and retesting after each Redmine release. Keycloak adds time if your team is new to it, since production needs a supported database and a chosen high availability design. Keycloak's project also says it plans four minor releases a year, so plan for keeping it current. Ask for a milestone plan that names who does each step and what test evidence closes it.

Is a plugin or a forked Redmine SSO module safer?

Neither option is safe by default. The safer choice is the one whose maintenance status you can verify for your exact Redmine version and whose code and license you can review. Check the latest release date, compatibility with Redmine 7.0.x (the only fully supported line), open security issues and whether the author responds to them. A fork gives you control over code and timing, but you then own every security fix, every Rails and Ruby compatibility change and every retest after a Redmine upgrade. A maintained plugin moves some of that work to its author, but only for as long as the author keeps supporting it. Core Redmine does not include SAML or OpenID Connect, so either path adds code to your login flow. Confirm the maintenance status of each candidate in writing before you choose a design. The Redmine download page lists the supported release lines.

What does our identity team need to provide for Redmine SSO?

The identity team owns the trust relationship, so expect to provide several inputs. Name an administrator who can register the Redmine application in the identity provider. Supply the exact redirect and logout URLs for each environment. Decide which attributes Redmine needs, such as login name, email, first and last name, and any group claim used for access. Provide test accounts in each relevant group. Agree who approves the client secret or signing certificate and where it is stored. Also settle the MFA policy, because Redmine's own two-factor settings and the identity provider's MFA may overlap. For Entra ID, the tenant's data location is set from the country or region chosen at creation and cannot be changed afterward, so confirm it before creating a tenant. Give the implementer read access to identity provider sign-in logs during testing.

How do Keycloak, Entra ID and Okta differ in setup?

The protocol steps are similar across all three: create a client or application, set redirect URIs, map claims, then test. The operating model differs. Keycloak is self-hosted, so your team builds the realm and clients, runs the server and chooses a high availability design. Keycloak documents that both supported multi-site designs need a synchronously replicated database. Entra ID is a hosted service where the application registration lives in your tenant. If you need on-premises Active Directory users and password hashes in the cloud, Microsoft Entra Connect synchronizes them and is free with an Azure subscription, while Entra Connect Health requires Entra ID P1. Okta is also a hosted service, but no researched facts for it are available here, so confirm its app integration options, claim format and pricing directly with the vendor. Whichever provider you choose, verify the SAML or OIDC claims Redmine receives in staging before go-live.

Can our own team set up Redmine SSO without a partner?

Yes, if your team has the skills and time, and the decision depends more on those than on licensing. The work needs someone who can operate a production Redmine server, including Puma, a supported database and background jobs. It also needs someone who can read Rails and Ruby logs when a plugin fails, plus an identity administrator for the provider side. Redmine's upgrade procedure makes plugin compatibility part of every release, so the SSO component will need retesting each time. A common pattern is to bring in a partner for planning, the first build and the test evidence, then keep operations in-house. If you go that way, ask whether the scope includes a handover and a runbook that your team can follow without the partner.

What breaks after upgrading Redmine with an SSO plugin?

The most common failure is a plugin built for an older Redmine or Rails version that stops loading, or loads but changes login behavior in a way that locks users out. Redmine's upgrade guide includes copying third-party plugins to the new installation and running the plugin migrations, so check each plugin against the target version before upgrading production. Keep Redmine on a supported line: 7.0.x receives new features, bug fixes and security updates, 6.1.x receives only bug fixes and security updates, 6.0.x receives only important security updates, and 5.1.x and older are unsupported. Test each upgrade on a copy of production. Cover a login through SSO, a login with your fallback account, an API call using a key and a group-based access check. Keep the previous installation and database backup until the new one passes these tests.

Should we keep a local administrator login if SSO fails?

Yes, plan a break-glass path before you switch login over. A fallback should be a decision you make and test, not an assumption. Options include a named local administrator with a long, unique password held in a sealed store, with the account's access limited to what recovery needs. Restrict who can use it, log each sign-in and review the account after each identity provider change. Test the fallback in staging by simulating an identity provider outage, and confirm that the procedure works without the engineer who built it. Document who can approve its use. A fallback that nobody knows how to use does not protect the service during an outage.

How DeployOpen scopes Redmine SSO work

DeployOpen approaches SAML and OpenID Connect single sign-on for Redmine as a planned, written-scope piece of work inside your own infrastructure. We start by settling which option is supportable for your Redmine version, then build, test, document and hand over the result so your team can run it.

How we scope

  • Written scope names the Redmine version, the identity provider and the SAML or OpenID Connect method agreed before work starts
  • Scope records which plugin, fork or reverse proxy approach is chosen and who owns its upgrades
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any build begins

How we build

  • Build covers the identity provider connection, attribute and group mapping, and how Redmine accounts are created at first sign-in
  • Testing covers sign-in, sign-out, denied access, expired sessions and the local fallback login for administrators
  • Redmine is deployed in your cloud accounts, data centers or air-gapped networks, with configuration kept under your control

How we hand over

  • Handover documents the configuration, the plugin or fork version in use, and the steps to repeat the setup
  • Runbooks explain how to test the upgrade path for Redmine and the SSO component before applying changes
  • Your administrators receive the documented procedure for rotating certificates and client secrets

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Retainers can cover re-testing SSO after Redmine or identity provider upgrades, so changes are checked before they reach users
  • Confirm the support terms, response expectations and included upgrades in the written quote

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.