How Plane OIDC SSO with authentik works for your team
If your team runs self-hosted Plane and wants staff to sign in with the identity provider they already use, the supported route is OpenID Connect through an authentik OAuth2/OIDC provider and application. The integration covers three things: sign-in itself, the email and name claims Plane reads from the token, and group claims that can later drive access mapping. Plane sends users to authentik, authentik authenticates them and returns an identity token, and Plane creates or matches the account from that token. Your authentik administrators own the provider, the application, the signing key and the user directory, while your Plane administrators own the OIDC settings in the instance's God mode.
The integration does not cover how groups change Plane roles, project membership or wiki access, and it does not cover automatic provisioning or the timing of group sync. Those rules belong to the sibling topics on IdP group sync and session settings, so decide them separately before you rely on group claims in production. Confirm with Plane which OIDC fields your edition and version expect, because the exact configuration keys can change between releases. Also note that SAML and OIDC for self-hosted Plane are listed on the Pro plan and above on the Plane pricing page, so confirm your license tier before you plan the rollout.
Plan for a break-glass path before you turn off other sign-in methods. Keep at least one Plane administrator account that can sign in without authentik, and test the full sign-in and sign-out cycle with a non-admin user first. authentik's own edition matters too: most of its code is MIT-licensed, while the enterprise directory carries separate terms, so check which features your authentik build uses. Ask your authentik owner to confirm which version they run and whether it is on a supported release line, since security fixes follow the project's published policy.
What you need before configuring authentik and Plane
Plane OIDC SSO with authentik depends on two running systems that trust each other over HTTPS. Confirm the items below in your own environment before you create any provider, because a missing URL or an unsupported version is the most common reason a first sign-in attempt fails.
Self-hosted Plane instance and URL
Confirm that your self-hosted Plane instance is running and that users reach it at one stable public URL. The callback and logout URLs you register in authentik are built from this address, so a later change to the hostname means updating the provider. Also confirm the Plane edition and plan in your own environment, since OIDC sign-in is tied to plan entitlement. Record the exact address, including any path prefix, before you start.
Plane self-hosting overviewRunning authentik deployment
Confirm that authentik is installed, reachable, and has its server and worker containers running. Docker Compose is positioned for test setups and small-scale production, and the Compose guide calls for at least 2 CPU cores and 2 GB of RAM. Check the host against that minimum, then plan for a larger host if your user base grows. Use a dedicated hostname for authentik so it can be managed separately from Plane.
authentik Compose guideSupported authentik version
Check that your authentik release is one that still receives security fixes under the project's security policy. Confirm the current release line on the releases page before you install, and plan a maintenance window for upgrades because security releases are announced with advance notice. An unsupported version can leave the identity provider exposed even when the Plane configuration is correct.
authentik security policyHTTPS on both systems
Confirm that both Plane and authentik serve valid HTTPS certificates. OIDC redirects and token exchanges will fail or expose credentials if either side uses plain HTTP or a certificate the other side does not trust. If your internal certificate authority issues the certificates, make sure the Plane server trusts that authority for back-channel calls to authentik's discovery and token endpoints.
Admin accounts in both systems
Confirm that you have an administrator account in authentik that can create providers, applications, and groups, and a Plane God mode or instance admin account that can enter OIDC settings. Keep at least one local Plane admin with a password so you can recover access if the provider is misconfigured. Schedule the change with the people who hold these accounts.
OIDC plan entitlement check
Confirm that your Plane plan includes SAML and OIDC for self-hosted instances, which the pricing page places at Pro and above. If you run the Community Edition, you must switch to the Commercial Edition before paid plan features apply. Ask your Plane contact or check your license in God mode before you build the integration, so the work is not blocked after configuration begins.
Plane editions and versionsConfigure the authentik provider, application and Plane settings
This sequence builds a confidential OpenID Connect client in authentik, passes Plane the endpoints and credentials it needs, and proves that a non-admin user can sign in and sign out. Each step ends with a check so that a failure is caught at the point where it was introduced.
Confirm Plane edition and SSO availability
The platform owner confirms the Plane edition and plan before any configuration. Plane's pricing lists OIDC on self-hosted Plane at the Pro tier and above, and a self-hosted Community install must move to the Commercial Edition before it can use paid plan features. Confirm the current requirement with Plane, then sign in to the instance admin area as the break-glass administrator and check that the OIDC options are visible. Done when you can see where OIDC settings are entered and you have a written note of the edition and plan.
Create the OAuth2 and OpenID provider
An authentik administrator opens the provider section and creates an OAuth2/OpenID provider. Set the client type to confidential so that Plane holds a client secret on the server side, and record the client ID and client secret in your secrets store. Authentik's provider documentation describes the available provider types and options, and field names can change between releases, so check them against the version you run. Done when the provider is saved and its client ID and secret are visible to the administrator.
Set Plane's redirect and logout URIs
Copy the callback (redirect) URI and the post-logout URI from Plane's current self-hosting documentation and enter them exactly in the provider. Scheme, host, port and trailing slash must match Plane's text, because a single character difference causes the sign-in to fail at the callback. Do not add wildcard or extra hosts unless Plane's documentation requires them. Done when the redirect and logout lists in authentik match the Plane documentation character for character and you have saved a screenshot for the change record.
Select scopes and claims for email, name and groups
Enable the openid, email and profile scopes so that the token carries the subject, email address and display name. If you plan to map access from groups, add a scope mapping that returns group names in a claim your team names deliberately, then confirm the claim key with the group sync topic before rollout. Use a test user to check the output. Done when the user info response for the test account shows the email, name and group claims with the expected values.
Create the application and bind the provider
Create an application in authentik, set a name and slug, and bind it to the provider from the previous steps. The slug becomes part of the issuer and discovery URLs, so choose it once and record it, because changing it later changes every endpoint Plane uses. Confirm the authentik documentation for how the issuer is formed in your version. Done when the application lists the bound provider and the OpenID discovery document loads in a browser at the URL that authentik shows for that application slug.
Enter endpoints and credentials in Plane
In the Plane instance admin settings, enter the OIDC client ID and client secret and the endpoints Plane asks for, such as issuer or discovery, authorization, token and user info URLs, using the values from the authentik discovery document. Confirm the exact field names in Plane's current docs. Save the settings and keep password sign-in enabled until testing passes. Done when Plane saves the configuration without a validation error and the SSO option appears on the sign-in page.
Test sign-in and logout with a non-admin user
Create a standard test user in authentik, not an administrator, and sign in to Plane through the SSO option. Confirm that the Plane account uses the email address from the token and that the expected name appears. Then sign out and confirm that you return to the Plane sign-in page. Record any error text from the authentik logs. Done when the test user signs in, the email claim matches the Plane account, and logout lands on the Plane sign-in page. Only then should you plan to turn off password sign-in.
Mapping authentik claims to Plane user and group attributes
This table pairs each OIDC claim authentik sends with the Plane user or group field it is expected to populate. Read the verify column as a list of items to confirm in your own Plane version before go-live, since claim names and mapping behavior can differ between releases. The main takeaway is that the subject identifier should be treated as the stable key, while email and name claims are display and matching data.
| Claim or attribute | Plane field it feeds | Stability and notes | Verify in your Plane version |
|---|---|---|---|
| sub (subject) | External identity link for the account | Unique and stable per authentik user. Do not key accounts on it if the user is recreated in authentik. | Confirm Plane stores and matches on this value across logins |
| User email and login identifier | Must be unique across the instance. Changing an email in authentik can create a second Plane account if matching uses email. | Confirm which field Plane matches existing accounts on | |
| given_name | First name | Optional for login. Include the scope that carries it or the field stays empty. | Confirm the field is populated on first sign-in |
| family_name | Last name | Optional for login. Map it with given_name so display names are complete. | Confirm the field is populated on first sign-in |
| name | Display name, if Plane reads it | Can differ from given and family names. Choose one source and keep it consistent. | Confirm whether Plane reads name or the split name claims |
| groups | Group attribute used for role or project mapping | Expect a list of group names. Use a stable group name, since renaming a group in authentik changes the value Plane sees. | Confirm the claim key, list format and how Plane reads it before mapping roles |
Choosing how group claims drive access in Plane
This option uses authentik's built-in scope mapping so the groups claim travels with the OIDC token and Plane reads it at sign-in. The decision sits in authentik: you decide which groups a user belongs to, and Plane receives that membership without further configuration on its side. It keeps the access model in one place, which suits teams that already manage access through authentik groups for other applications.
- Scope and claim: Add the
groupsscope to the Plane provider so the groups claim is included in the ID token or userinfo response, then confirm the claim key matches what your Plane configuration expects. - Single source of truth: Membership changes made in authentik flow to Plane on the next sign-in, so identity administrators do not need a second system for Plane roles.
- Group sprawl risk: Groups created for other applications may appear in the claim. Any group name Plane matches on becomes a potential grant, so review which groups are sent to Plane.
- Auditability: The source of truth is authentik's group membership and event log, which makes it easy to show who had access and when it changed.
- Maintenance: Adding a new Plane role means creating or assigning a group in authentik, so the identity team owns the workflow.
Before relying on this option, check which group attribute name your Plane version reads and test with a user from each group you plan to map.
This option uses an authentik custom property mapping to emit a dedicated claim that lists only the group names you choose, instead of every group a user holds. It is useful when the default groups claim carries too much, or when group names in authentik need to be translated into the names Plane expects. The trade-off is that the mapping becomes code you must version, test and maintain alongside the provider.
- Filtered output: A mapping can emit only groups whose names start with a prefix such as
plane-, which limits what leaves authentik. - Name translation: The mapping can rename groups into the values your Plane role configuration uses, so the identity naming scheme does not dictate Plane's.
- Review burden: Every change to the mapping logic needs a peer review and a sign-in test, because a typo can silently drop access for everyone.
- Auditability: The mapping is an explicit, reviewable rule, but its behavior is only visible in the token contents, so capture sample tokens during testing.
- Upgrade exposure: Custom mappings are not touched by upgrades, but confirm they still behave after changes to authentik's scope definitions in a new release.
Ask your identity team to document the prefix rule and keep a test user for each mapped group.
This option skips group claims for access entirely. Users sign in through authentik, and a Plane administrator grants workspace roles or project membership inside Plane. It is the simplest route to start with and avoids any claim mapping, but it moves the access decision to people who work inside Plane rather than to the identity system.
- Low setup cost: No group scope or mapping is needed, so the first sign-in test is only about SSO working.
- Drift risk: Access granted by hand is not removed when someone leaves a team or the company unless someone acts on it, so offboarding depends on a process.
- Auditability gap: Role changes are recorded in Plane, but the reason and approver usually live in a ticket, not in the identity system, so evidence requires cross-referencing.
- Scale limits: Manual grants work for small workspaces and slow-changing teams, and become hard to review as project membership grows.
- Over-broad risk: Administrators may grant wider roles than needed to unblock someone, so pair manual grants with a periodic review.
If you start here, plan the move to group-driven access before the instance holds sensitive projects. For sync timing and removal behavior, see the sibling topic on Plane IdP group sync for roles and project access.
Hardening the authentik to Plane sign-in path
Once authentik and Plane agree on a login, the risk moves to the edges: where the client secret lives, how the browser trusts the certificates, who is allowed through, and how fast the sessions expire. The cards below cover those checks in the order most teams reach them during go-live and review.
Store the client secret safely
The OAuth2/OIDC client secret you copy from the authentik provider is what Plane uses to exchange authorization codes, so anyone holding it can impersonate the application. Keep it out of Compose files, Helm values committed to Git and shell history. Use your secrets manager or a Kubernetes Secret with restricted read access, and record who can rotate it. Rotating it means updating both authentik and Plane's environment configuration, so plan the change window in advance.
authentik providers docsServe both sides over HTTPS
Plane and authentik must both be reached over HTTPS with certificates the user's browser and Plane's backend trust. Browsers fail the redirect silently if the certificate is wrong, and a private CA must be present in the trust store of the Plane containers, not just on workstations. Confirm that the issuer URL in Plane matches the authentik hostname exactly, including the scheme and path, and that the discovery document is reachable from inside the cluster or network where Plane runs.
Restrict access with policy bindings
By default, a bound application can accept any user that authentik's flow lets in, so the access decision needs an explicit gate. Bind a group or policy to the authentik application so that only the intended Plane users can complete authorization. Test with one account outside the group to confirm it is refused before rollout. Record the binding in your change log, because a later edit to the flow or group can widen access without any change on the Plane side.
Keep a break-glass admin in Plane
Create and test a local Plane admin account before you turn off password login. If the OIDC provider, its certificate or the callback URL breaks, SSO-only instances can lock out every administrator. Store the break-glass credentials in a vault with a named owner, and check that the account can sign in from the admin network. Review whether the account is still needed after the SSO path has run cleanly for a period your team sets.
Shorten session lifetimes
authentik keeps its own session after login, and Plane keeps a separate session cookie, so both lifetimes count toward how long a stolen browser stays useful. Review the session and token settings in authentik's provider and flow configuration, and the session expiry options in Plane's instance settings, then set them to match your access policy. Confirm which of these values is configurable in your authentik and Plane versions before writing them into the security standard.
Stay on a supported authentik version
authentik's security policy names the release lines that receive security fixes, and the project announces security releases at least 24 hours in advance. Subscribe to the authentik releases page and set a patch window that can start within that notice. Test each upgrade against a staging copy of the Plane login path, including the callback, logout and group claims, before it reaches production. Record which authentik version is running so the answer to a vulnerability question is quick.
authentik security policyWhy the authentik login to Plane fails and how to fix it
This table lists the failures teams most often hit when wiring authentik to Plane over OIDC, with the likely cause and the first check for each. Work down the rows in order, since the redirect URI and issuer checks catch the most common setup errors before you look at claims or logout.
| Failure | Likely cause | First check |
|---|---|---|
| Redirect URI mismatch | The callback URL registered in the authentik provider does not match the URL Plane sends, often because of a trailing slash, http versus https, or a different public hostname. | Compare the redirect URI in the authentik provider with the callback URL shown in Plane's OIDC settings, character by character. |
| Wrong issuer or discovery URL | The issuer points at the application slug path incorrectly, or the discovery document is read from a different slug than the one the provider was created under. | Open the issuer's .well-known/openid-configuration URL in a browser and confirm the issuer value matches what Plane has saved. |
| Missing email scope or claim | The email scope is not requested, or the authentik scope mapping does not release the email claim to this application. | Decode a test login's ID token or check the userinfo response and confirm an email claim is present for the test user. |
| Client secret mismatch | The secret was regenerated in authentik or copied with extra whitespace, so Plane holds a stale or altered value. | Regenerate the secret in authentik, paste it into Plane again without surrounding spaces, and retry a fresh sign-in. |
| HTTPS or certificate trust errors | Plane's backend cannot verify the authentik certificate because it is issued by a private or internal CA that is not in the container's trust store, or the endpoint is served over plain HTTP. | From the Plane backend container, request the discovery URL with curl and confirm the TLS handshake succeeds and the scheme is https. |
| Groups claim empty | The groups scope or property mapping is not attached to the provider, or users have no group memberships in authentik, so the claim is absent from the token. | Check the ID or userinfo token for the groups claim with a user who is known to belong to a mapped group, then confirm the group attribute key matches Plane's setting. |
| Logout does not return to Plane | The post-logout redirect URI is not registered in the authentik provider, or Plane's logout endpoint is not configured to match the authentik logout settings. | Compare the registered post-logout redirect URI in authentik with the URL Plane sends during logout and test once in a new private browser session. |
Plane exchanges the authorization code server to server before reading user claims
The flow starts in the user's browser, which opens Plane's sign-in and is redirected to the authentik authorization endpoint. After sign-in, authentik sends the browser back to Plane's callback with a one-time authorization code. Plane then calls the token endpoint directly to exchange that code for tokens, and calls the userinfo endpoint with the access token to read the email, name and groups claims. Check that the callback URL matches exactly and that the requested scopes return the claims your access mapping needs.
Browser redirects carry the code, while Plane calls authentik's token and userinfo endpoints directly.
Questions buyers ask before setting up authentik SSO for Plane
What does authentik SSO for Plane cost, and what drives the price?
The cost is mostly labor, and it splits into internal engineering time and any partner scope you buy. The software side is not a fixed cost in this setup: authentik's Open Source edition is free, according to the authentik pricing page, and the Enterprise edition is priced per user per month, plus a per-external-user charge, on that same page. The biggest drivers are the number of groups that must map to Plane roles and projects, how many environments you need (typically a test instance before production), and how much testing with real user accounts is required before cutover. Ask any partner for a written quote that lists each of those items separately, with what is one-time and what recurs, such as Enterprise subscription fees and ongoing Plane upgrades.
How long does it take to connect authentik to Plane over OIDC?
The duration depends on the scope you set, not on a fixed number of days, and no timeline figure is supplied for this work. The core provider and application setup is short. The longer parts are agreeing on the group design, testing sign-in with several accounts, confirming that group claims arrive in the expected format, and rolling the change out without locking out administrators. Each additional environment, group mapping rule or identity source adds time. Ask for a timeline that breaks out design, build, test and cutover, and confirm the dependencies, such as access to your Plane instance and the authentik admin account, before the clock starts.
What must our team provide before the SSO work begins?
Your team needs to supply the working inputs that the configuration depends on. These include administrator access to the authentik tenant and to the Plane instance, including its God mode area, the public URL where Plane is reached, and the URL authentik is served from. You also need to decide the TLS certificate chain for both hosts, a written group design that maps authentik groups to Plane workspace roles and project access, and a named set of test users who represent each role. Keep a local administrator path in Plane so that a failed login change does not lock everyone out. Confirm these items in writing at the start, because missing access or unclear group rules are the most common causes of delay.
Can one engineer set up authentik OIDC for Plane alone?
One engineer with the right access can usually complete the basic OIDC link, but the work is safer with two people: one who configures authentik and one who owns Plane's admin side and reviews the test results. The authentik provider and application creation is a bounded task, and Plane's sign-in settings are also short to change. The risk sits in the parts that are easy to get wrong alone, such as the callback and logout URLs, the scopes that carry email and names, and the group claim that drives access. A second reviewer catches those errors before users see them. If your internal team lacks authentik or Plane experience, a partner can take the build and leave your engineer as the owner of the result.
Does the authentik license change how this setup works?
Your authentik edition affects which integrations you can use, but the generic OAuth2/OIDC provider that Plane needs is part of the open source code. According to the authentik LICENSE on GitHub, most of the code is under the MIT license, while code in the enterprise directory has a separate license. The authentik pricing page lists the Open Source edition as free with community Discord support only. The Enterprise edition adds Google Workspace and Microsoft Entra ID integrations, mTLS client certificate authentication, enhanced audit logging and ticket-based support for subscriptions over $1k. If you plan to use Entra ID or Google Workspace as the upstream identity source, confirm the edition you need on the authentik pricing page before you design the setup.
Does Plane's OIDC single sign-on require a paid plan?
Plane's OIDC sign-in is listed among the self-hosted features available on the Pro plan and above, according to Plane's pricing page. The Community Edition is free and matches the feature set of the Cloud Free tier, so confirm on the pricing page whether OIDC is in the Free feature set for your edition before you commit. Moving from Community to a paid plan requires switching to the Commercial Edition with a license key, and seats are counted by users with paid roles, as Plane's editions and versions documentation explains. Pro is shown at 6 to 8 US dollars per user per month and Business at 13 to 15 US dollars per user per month. Confirm the current plan and edition with Plane before you purchase.
What breaks most often in an authentik and Plane OIDC setup?
Most failures come from a small set of mismatches. The redirect URI registered in authentik must match the callback URL Plane sends exactly, including protocol, host and path. The logout URL and post-logout settings must match what Plane expects, or users will see errors after signing out. Scopes must include the claims that carry email and names, otherwise Plane may create accounts without usable identity fields. The group claim must be present in the token and named the way your group mapping expects, and an empty claim can silently strip access. Test each of these with a non-administrator account, and confirm the exact values against Plane's current self-hosting documentation before cutover.
How DeployOpen scopes and delivers Plane SSO with authentik
DeployOpen plans, builds, tests and documents OIDC sign-in between a self-hosted Plane instance and authentik inside your own infrastructure. The work is agreed in a written, fixed scope, and your team keeps ownership of the identity provider, the Plane instance and the access decisions that follow from group claims.
How we scope
- Confirm the Plane edition and version in use, and whether SSO needs a paid plan before any build starts.
- Record the authentik deployment model, the hostnames for Plane and authentik, and the TLS certificates each will use.
- Agree in writing which group claims drive Plane roles and which users keep a local break-glass admin account.
How we build
- Create the authentik OAuth2/OpenID provider and application, with Plane's callback and logout URLs matched exactly.
- Configure the scopes that return email and name claims, and map an authentik group claim to the attribute Plane reads.
- Test sign-in, sign-out and a user without the mapped group using accounts that match your real directory policies.
How we hand over
- Deliver a configuration record listing provider settings, client identifiers, redirect URIs, claim names and group mappings.
- Document the test cases run, their results, and the steps to roll back to password login if the provider is unavailable.
- Walk your identity and platform teams through the runbook for rotating the client secret and adding new groups.
How we support
- Support after handover is available as a retainer, covering authentik and Plane upgrades that could change claims or endpoints.
- Retesting of sign-in and group mapping can be added after each Plane or authentik version change, as agreed in scope.
- Scope changes such as adding a second identity provider are quoted in writing before any work begins.

