OpenProject SSO with Okta

Connecting self-hosted OpenProject to Okta as a custom OpenID Connect provider, with the endpoints, client settings, mappings and logout behavior your team must plan before go-live.

On this page

How OpenProject SSO with Okta works as a custom OpenID Connect provider

If your organization runs self-hosted OpenProject and wants staff to sign in with their Okta accounts, the supported route is a custom OpenID Connect provider created in the OpenProject user interface. This option has been available since OpenProject 15.0. You do not need a code change or a manual edit to a configuration file to add it. The provider is defined by a discovery endpoint, client details, attribute mapping, group mapping and claims, and the OpenProject documentation gives sample endpoint values for Okta, which is a useful starting point for the Okta application you create. Okta SSO is listed among the single sign-on options in the Professional plan and above on the OpenProject pricing page, so confirm the plan your installation holds before you plan the rollout.

Before you touch either side, decide three things. First, which Okta authorization server and issuer your OpenProject instance will trust, because the discovery URL and the endpoints it publishes must match that issuer exactly. Second, which Okta claim will carry the login name that OpenProject uses to match accounts, and whether existing OpenProject users are matched by email or by a stored identifier. Third, whether group membership will come from Okta at all. Each of these choices changes the attribute mapping and the group mapping you configure in OpenProject, and changing them after users have signed in can leave duplicate or orphaned accounts. Ask your Okta administrator to confirm which claims the authorization server issues for your application, since the claims available depend on how Okta is configured in your tenant.

Plan the redirect URI, the client secret handling and the logout path as part of this design, not as afterthoughts. The redirect URI registered in Okta must match the callback that OpenProject generates for the provider you create, including the scheme and host of your instance. The client secret should be stored under your own secrets process rather than in a shared document. Logout behavior also needs a decision: signing out of OpenProject does not automatically end the Okta session, so confirm with your security team whether that gap is acceptable. Finally, test the provider with a non-administrator account and keep a working administrator login available before you make SSO the only sign-in path.

What you need in place before configuring Okta and OpenProject

Okta sign-in to OpenProject depends on four things being settled first: the OpenProject release and plan, the administrator access on both sides, a public HTTPS address that the redirect can reach, and a controlled test group. Work through these cards before creating any Okta application, because a gap in one of them usually shows up as a failed login later.

OpenProject version and plan

Single sign-on through Okta is listed among the features from the Professional plan, so a Community installation cannot use it. Confirm the exact release you run against the OpenProject release notes, since the custom OpenID Connect provider settings in the admin interface depend on the version. Record the version in your change ticket so that later upgrades are checked against the same screens and fields.

Custom OIDC providers from
15.0
Release notes

Administrator access on both sides

You need an OpenProject administrator account that can create authentication providers, and an Okta administrator who can create and assign applications in the tenant. Ask your Okta administrator to confirm the tenant settings that affect the integration, such as whether the org authorization server is used, who may create applications and which policies apply to sign-in. Agree in advance who will hold the client secret after setup.

Public HTTPS address and certificate chain

The redirect back to OpenProject must reach a public HTTPS hostname with a certificate that browsers and the OpenProject server both trust. Confirm that the host name in the OpenProject host setting matches the address users type, and that the full certificate chain, including any internal intermediate authority, is installed. A mismatch between the registered redirect URI and the live address is one of the most common causes of failed sign-in.

Network reachability to the discovery endpoint

OpenProject fetches the Okta discovery document and token endpoints from its own server, not from the user's browser. Test outbound HTTPS from the OpenProject host or container to the Okta domain for your tenant, and check any proxy, firewall or DNS rules that apply to the server. Users' browsers must also reach Okta, so confirm that sign-in pages load from their networks.

Test user group in Okta

Create a small group in Okta that holds only test accounts, and assign just those users to the new application before any production users are added. Include one user who should be a standard member and one who should hold an administrator role in OpenProject, so you can check attribute and group mapping for both. Keep this group in place after go-live for future changes.

Configuration sequence for the Okta OIDC connection

This sequence takes a team from an empty Okta tenant to a verified OpenProject sign-in through a custom OpenID Connect provider. Each step ends with a check so that a fault is found at the step that caused it.

  1. Confirm the OpenProject base URL and plan

    Before touching Okta, confirm the public URL that users will type into the browser, including scheme and host, because the redirect URI must match it exactly. Confirm with your administrator that the instance is on an Enterprise plan that includes single sign-on through Okta, as listed on the OpenProject pricing page. Done when the base URL is written down, the plan is confirmed in writing, and the URL resolves over HTTPS from the browsers that will sign in.

  2. Create the OIDC app integration in Okta

    In the Okta admin console, create a new app integration that uses the OIDC protocol and the web application type. Copy the sign-in redirect URI from the OpenProject custom provider form, since OpenProject generates the exact callback path, and paste it into Okta without edits. Restrict the assignment to a test group at this stage. Done when the app integration exists, the redirect URI in Okta matches the value shown in OpenProject character for character, and the app is not yet open to all users.

  3. Record the client ID and client secret

    Copy the client ID and client secret from the Okta app integration into a secure password store that your team controls, not into a shared document or ticket. Confirm that the secret is the one you will enter in OpenProject and that nobody has rotated it since. Done when both values are stored in the approved vault and you can retrieve them for the OpenProject form without asking the Okta administrator again.

  4. Enter the discovery endpoint and client details

    In OpenProject, open the custom OpenID Connect provider form and enter the Okta discovery endpoint for your authorization server, along with the client ID and client secret. The OpenProject provider documentation gives sample endpoint values for Okta, which you should adapt to your own Okta domain and authorization server. Save the provider. Done when the discovery document loads from the endpoint in a browser or with a simple request, and OpenProject accepts the provider without a configuration error.

  5. Map login and email attributes

    Set the attribute mapping in the OpenProject provider so that the login name and email come from claims Okta actually sends. Confirm the claim names in the Okta authorization server, since the default set can differ by tenant and by scopes requested. Keep the email scope enabled so the email claim is returned. Done when a test token or the userinfo response from Okta shows the expected login and email values, and the mapping in OpenProject points to those same claim names.

  6. Configure the groups claim and group mapping

    In Okta, add a groups claim to the authorization server that includes only the groups your OpenProject access model needs, and set a filter so that unrelated groups are not exposed. In OpenProject, enable group mapping and point it at the groups claim. Decide with your project governance owners whether Okta will own group membership or whether OpenProject keeps manual memberships, because this choice changes what happens at each login. Done when a test user's token contains the expected group names and OpenProject shows the matching groups after sign-in.

  7. Assign test users and run a sign-in test

    Assign two or three test users in Okta, one with a group that should grant project access and one without. Sign in to OpenProject from a private browser window, starting from the sign-in page so that the Okta button is used. Confirm that the user lands on their OpenProject home page, that the login and email match the Okta profile, and that the group-based access is correct. Done when both test accounts behave as expected and the results are recorded for the change record.

Choosing how Okta claims map to OpenProject users and groups

Mapping by login name matches the claim that Okta sends for the username, typically configured as the preferred username attribute, to the login field of an existing OpenProject account. It suits organizations where usernames are stable, unique and already identical across the directory and OpenProject. The main risk is that a login name can be reused or changed in Okta, so a changed value can either lock a person out or attach them to the wrong account.

  • Exact value match: OpenProject compares the claim with the stored login, so case, punctuation and format differences create duplicate or unmatched users.
  • Existing accounts: Pre-existing local users are matched only if their login equals the claim, so check them before enabling.
  • Renamed people: A renamed Okta user will not match the old login unless you plan a rename process.
  • Reserved or shared names: Shared or service-style usernames in Okta should be excluded or reviewed.
  • Test with a sample: Sign in with a small set of real accounts in a test instance and compare the stored login with the Okta claim.

Confirm the exact claim name and its format in your Okta authorization server before you map it.

Okta claims and OpenProject attributes to map

This table lists the attribute mapping fields the custom OpenID Connect provider exposes in OpenProject and the Okta user attribute or claim each should read from. Use it as a checklist when filling in the mapping form, and confirm every claim name against your own Okta authorization server before saving, because names differ between tenants and server configurations.

OpenProject fieldOkta source to readWhat to check
LoginUsername claim, typically preferred_username or the Okta login valueMust be unique and stable; confirm the claim appears in the ID token or userinfo response for your server
Emailemail claim, mapped from the Okta user profile email attributeConfirm the claim is included in the token for the scopes you request, and that it matches existing OpenProject accounts
First namegiven_name claim, mapped from the Okta firstName profile attributeBlank values can create incomplete accounts; test with a user whose profile is fully populated
Last namefamily_name claim, mapped from the Okta lastName profile attributeConfirm the claim name in the tenant, since custom authorization servers may expose different names
Groups claimA groups claim added to the authorization server, filtered to the Okta groups that should map to OpenProjectClaim names and filter expressions depend on your Okta configuration; confirm the exact name in a test token before enabling group mapping
Admin or group membership mappingOkta group names carried in the groups claim, matched against OpenProject group namesGroup names are case-sensitive in matching; confirm the values in a decoded test token

How a sign-in travels between Okta and OpenProject

The sign-in starts in the browser, which the user sends to OpenProject's login route. OpenProject reads the custom OpenID Connect provider's discovery document to find Okta's authorization endpoint, then redirects the browser there. After the user authenticates, Okta returns an authorization code, and OpenProject's backend exchanges it for tokens at the token endpoint. OpenProject then maps the claims (such as the username, email and groups) to a user and creates the session. Check that the redirect URI matches the Okta app exactly and that the claims arrive as you configured them.

Discovery, redirect, code exchange and session creation between the browser, OpenProject and Okta.

Security settings to harden the Okta connection

The Okta connection is a trust link between your identity provider and OpenProject, so each setting below narrows who can sign in and what they receive. Work through them together before go-live, then repeat the review after any change to the Okta app or the OpenProject provider.

Store and rotate the client secret

The OpenID Connect client secret lets OpenProject exchange authorization codes with Okta, so anyone holding it can impersonate the application. Keep it in your secrets manager or the environment configuration of the OpenProject host, never in a shared document or ticket. Confirm who can view it in the Okta admin console, and set a rotation date that your team can actually meet. After each rotation, update the OpenProject provider and test a fresh sign-in before retiring the old secret.

OpenID providers docs

Use HTTPS-only redirect URIs

The redirect URI tells Okta where to send the authorization response, so a loose value can route codes to the wrong host. Register only the exact HTTPS callback for your OpenProject hostname, with no wildcards, no HTTP entries and no entries left over from testing. Check that the hostname in the redirect URI matches the public URL configured in OpenProject, because a mismatch causes sign-in failures that tempt teams to add extra URIs.

Assign the app to specific groups

Okta sends sign-in only for users who are assigned to the OpenProject application, so assignment is your first access control. Assign the app to named Okta groups that match the teams allowed to use OpenProject, and avoid assigning it to Everyone. Review assignments on a schedule and after reorganizations, since a user who leaves a group should lose access to the application. Confirm that OpenProject's own project roles still control what signed-in users can see.

Keep a break-glass local admin

If the Okta connection fails, nobody can sign in through SSO, including administrators who need to repair the provider settings. Keep a local OpenProject administrator account with a strong, separately stored password and a second factor where supported, and test that it works before you enforce SSO. Record who holds it and when it was last used. The related guide on keeping a break-glass login describes the routes and password login modes to plan for.

Set token and session lifetimes

The lifetime of Okta sessions and tokens determines how long a stolen session stays useful, and OpenProject sessions outlive the moment of sign-in. Review the session policy in your Okta org and the session settings in OpenProject together, so a revoked user cannot keep working in OpenProject for longer than your policy allows. Confirm with your vendor and in your own test environment how OpenProject handles expired tokens before you document the setting as final.

Review which claims leave Okta

Every attribute and group claim Okta includes in the token is data OpenProject receives and may store, so send only what the mapping needs. Start from the minimum set for login and group mapping, such as the subject, email and the group claim your project roles depend on. Remove unused claims from the authorization server, and check which groups are included so that unrelated group names do not reach OpenProject. Repeat the review whenever the attribute mapping changes.

Attribute mapping docs

What happens to sessions when a user signs out

Logout behavior for OpenProject with Okta has to be tested in your own environment before go-live, because signing out of OpenProject and signing out of Okta are separate actions and the configuration decides whether one ends the other. Confirm, against the OpenProject OpenID providers documentation for the release you run, whether OpenProject sends the user to the Okta end-session endpoint or only clears its own session. Do not assume either behavior. If the OpenProject session ends but the Okta session stays active, a user who signs out on a shared workstation can often reopen OpenProject without entering credentials again, so the security team should decide whether that is acceptable for the systems in scope.

Run the test with at least two accounts and two browsers. Sign in to OpenProject through Okta, sign out, and record the exact landing page: the Okta sign-out confirmation, the OpenProject login page, or an error. Then open Okta in a second tab and check whether its session is still valid. Repeat the test after closing the browser and after an idle timeout. Record what each step shows, because the answer your users see is what the help desk will hear about. Confirm the behavior with your OpenProject version before writing user guidance, and if the result differs from the documentation, raise it with the vendor rather than working around it in the browser.

Disabled users need their own test. Disable a test account in Okta, then try to open an existing OpenProject session and start a new sign-in. Check whether the open session keeps working until it expires, whether the next sign-in is refused, and what message the user receives. An existing OpenProject session is not necessarily revoked the moment Okta disables the user, so decide with the security team how long that window may last and whether the account should also be deactivated or locked inside OpenProject. Write that decision into the runbook, along with who performs the deactivation when a leaver is off-boarded outside business hours.

Common Okta SSO failures and how to fix them

This table lists the failures teams most often hit when connecting OpenProject to Okta as a custom OpenID Connect provider, with the likely cause and the fix for each. Work down the rows in order during testing, since several failures (such as an unassigned user or a missing groups claim) only appear after the sign-in redirect succeeds.

FailureLikely causeHow to fix it
Redirect URI mismatchThe sign-in redirect URI registered in the Okta app does not exactly match the callback address OpenProject sends, often because of a different host name, http instead of https, or a missing or extra path segment.Copy the callback address shown in the OpenProject provider settings into the Okta app's sign-in redirect URIs character for character, then retest from a fresh browser session.
Discovery URL errorsThe discovery endpoint points to the wrong Okta authorization server, such as the org server instead of a custom one, or the domain typed in does not match the tenant.Open the discovery URL in a browser and confirm it returns the metadata document for the authorization server you configured, then use that same issuer across every endpoint value.
Wrong client secretThe secret was rotated in Okta or copied with extra spaces, or an older value was pasted into OpenProject.Generate or copy the current client secret from the Okta app, paste it without surrounding whitespace, save, and retest. Record where the secret is stored so rotation does not break sign-in.
Missing groups claimThe groups claim is not added to the ID token or the access token, or the group filter in Okta does not match any group the user belongs to.Add a groups claim to the authorization server with a filter that matches the groups you map, then sign in and inspect the returned claims. Empty group lists usually mean the filter, not OpenProject, needs changing.
Existing-account email collisionsA local OpenProject account already uses the same email address as the Okta user, so the login does not link to the account the user expects or fails on a duplicate.Decide before cutover which accounts will be matched by email, check for duplicates in the OpenProject user list, and confirm the attribute you map to the email field is verified in Okta.
User not assigned to the Okta appThe user has no assignment to the Okta application, so Okta refuses the sign-in before OpenProject receives a token.Assign the user or a group to the application in Okta, or use a group assignment for pilot users. Check the Okta system log for the blocked attempt to confirm the cause.
Clock skewThe OpenProject host and Okta disagree on the time by enough that token timestamps fall outside the accepted window, so valid tokens are rejected.Confirm the OpenProject server syncs time with a trusted NTP source and that the host clock is correct. Recheck after any virtual machine migration or host suspension.
Certificate trustOpenProject cannot verify the certificate of the Okta endpoints, usually because the host uses a private certificate authority or a TLS-inspecting proxy that is not in the trust store.Add the internal certificate authority to the trust store used by the OpenProject container or host, confirm the endpoints resolve and validate from that host, and retest. Do not disable verification to get past the error.

Questions buyers ask before configuring Okta SSO for OpenProject

What does Okta SSO for OpenProject cost and what drives the effort?

The cost is mostly the time of the people doing the work, plus the OpenProject plan that includes the feature. The configuration itself is a bounded task: an Okta custom OpenID Connect application, a set of endpoint and client values, and attribute and group mapping in OpenProject. Effort rises with the number of applications already in Okta, how many attributes and groups must map into OpenProject roles, whether logout must end the Okta session, and how many environments (test and production) must be kept in step. Ask any partner for a fixed-scope written quote that lists the Okta objects, OpenProject settings, test cases and cutover steps included, and whether the work is one-time or followed by a support retainer. DeployOpen does not publish prices; a quote follows from the written scope.

How long does a typical Okta connection take?

No fixed duration can be given here, so plan from the factors that set it. The main ones are whether an Okta tenant and an OpenProject test instance already exist, how quickly the Okta admin can create and assign the application, how many groups must be mapped to project roles, and how many rounds of testing with real users the organization requires before cutover. A clean environment with one set of groups and one test group is much shorter than a multi-team rollout with conditional access policies and existing local accounts to reconcile. Ask for milestones in the written scope so that each dependency, including Okta approval steps and change windows, is visible.

What must our team provide before the work starts?

Three things need to be ready before any configuration begins:

  • Okta admin rights sufficient to create an OpenID Connect application, assign users and groups, and read the authorization server or org details that supply the discovery endpoint.
  • OpenProject administrator access on a non-production instance, plus the ability to change the production instance during an agreed window.
  • Named test users in Okta covering each intended role, including at least one user outside the target groups to confirm that access is refused.

Also confirm the public URL of the OpenProject instance, because the redirect URI registered in Okta must match it exactly. Agree a named contact who can approve group-to-role mappings.

Can an in-house admin set up Okta SSO for OpenProject alone?

Yes, if that person holds both the Okta admin rights and the OpenProject administrator role and has time to test properly. The OpenProject side uses the custom OpenID provider settings in the administration interface, which expose the discovery endpoint, client details, attribute mapping, group mapping and claims. The risks are less about the clicks than about access decisions: which Okta groups become which OpenProject roles, what happens to existing local accounts, and how a lockout would be recovered. A single admin should still keep a break-glass administrator login and test with a second person reviewing group mappings. An external partner is useful when the admin lacks one of the two roles, when the environment is regulated and needs documented evidence, or when the rollout spans several instances.

Which OpenProject plan is required for Okta SSO, and what does Community lack?

Okta single sign-on is listed among the features available from the Professional plan, which OpenProject prices per named user per month with a 25-user minimum (see the pricing page for current figures). The Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards, but it does not include the single sign-on options that the Enterprise plans list. Without the Enterprise plan, users sign in with local OpenProject accounts. Confirm the current plan entitlements and the Okta-specific wording with OpenProject before buying, because feature lists change between releases.

How do we test Okta SSO before cutting over users?

Test on a separate OpenProject instance connected to a separate Okta application, then promote the verified settings. A useful test plan covers:

  • Sign-in for each test user and the role each one receives from group mapping.
  • A user outside every mapped group, who should not gain access.
  • An existing local account, to confirm how matching by email or login behaves.
  • Sign-out and session end, to confirm the logout behavior you chose.
  • A failed or revoked Okta assignment, to confirm access is removed.
  • A deliberate misconfiguration, such as a wrong redirect URI, to confirm the error is understood and the break-glass login works.

Record results, have someone other than the configurer sign off, and keep the test evidence with the change record.

Does the Okta setup change how our team can sign in if the provider is down?

Yes. Once OpenProject delegates sign-in to Okta, users cannot authenticate to OpenProject while Okta or the network path to it is unavailable, unless local password login is still enabled for some accounts. Decide in advance which administrator accounts keep a direct internal login, document how to reach that login, and confirm it works before cutover. Also check Okta-side policies such as multi-factor requirements and session lifetimes, because they change how often users must re-authenticate. Treat this as a design decision agreed with the security team, not a detail left to the configurer.

How DeployOpen scopes and delivers an Okta SSO connection for OpenProject

DeployOpen plans and implements OpenProject SSO with Okta inside your own infrastructure, from the Okta app integration to the custom OpenID Connect provider in OpenProject. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • We confirm your OpenProject edition and whether your plan includes the OpenID Connect provider feature needed for Okta.
  • We record the Okta org, authorization server, app integration type and the groups or claims OpenProject must read.
  • We agree in writing which environments are covered, who approves the Okta configuration and what testing is included.

How we build

  • We register the custom OpenID Connect provider in OpenProject using the discovery endpoint and client details from your Okta tenant.
  • We configure attribute mapping, group mapping and claims, then test sign-in with accounts from each group you use.
  • We document the logout behavior and check that a break-glass admin login still works before anyone is moved to SSO.

How we hand over

  • You receive a written record of the configuration values, mappings and claims, with secrets stored outside the handover document.
  • We walk your identity and platform administrators through sign-in, group changes and the steps to rotate the client secret.
  • We provide a test checklist your team can rerun after OpenProject upgrades or Okta changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so changes to Okta or OpenProject can be reviewed.
  • We can retest sign-in and group mapping after each OpenProject release that touches authentication settings.
  • Support scope, response expectations and any SLA are set in the written agreement, so confirm them before signing.

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.