Using GitHub OAuth to sign in to self-hosted Plane
Plane supports GitHub OAuth sign-in, so engineers can use their existing GitHub accounts to open a self-hosted Plane workspace. You set it up by registering a GitHub OAuth app for your Plane domain, then entering its client ID and client secret on the Authentication screen of God mode, the instance administration area. Once those credentials are saved and the sign-in option is enabled, GitHub appears as a way to log in alongside any other methods you keep turned on.
The GitHub OAuth app needs three values that must match your deployment exactly. The homepage URL is your Plane domain over HTTPS. The web callback is /auth/github/callback/ on that domain, and the mobile callback is /auth/mobile/github/callback/, which the Plane mobile apps use during sign-in, so leave it out and mobile users will fail to log in. Confirm the exact paths against the Plane GitHub OAuth documentation for your version before you register the app, because a mismatch produces a redirect error rather than a clear message. Plan who in your organization owns the GitHub OAuth app, since its secret must be rotated and stored with your other administrative credentials.
Keep the scope of this method clear. GitHub OAuth only proves who a person is at sign-in. It does not sync repositories, issues or pull requests into Plane, and it does not decide what a user can see or change. Those belong to the GitHub integration and to workspace roles. GitHub sign-in also does not enforce your organization's identity policies, such as group membership, offboarding or multi-factor requirements on the identity provider. If you need those controls, plan SAML or OIDC instead, and confirm with Plane which plan includes them on your edition, since SAML and OIDC are listed on Pro and above in the pricing documentation.
What you need before registering the GitHub OAuth app
Four things must be in place before anyone opens GitHub's OAuth app form. Each one fixes a value the app registration or the God mode settings will depend on, so decide them first. Confirm the Plane version and edition against the GitHub OAuth docs in your own environment before you start.
A stable HTTPS Plane domain
The GitHub OAuth app uses your Plane domain as its homepage URL, and GitHub builds the callback URLs from that same host. Plane must be reachable over HTTPS at a name you will not change, because a moved domain means a new OAuth app and new callbacks. Confirm the public address, the certificate chain and that the browser and mobile clients reach it from outside your network. Use the exact scheme and host you plan to keep, including any path prefix.
GitHub OAuth docsGod mode access for an administrator
Credentials are added on the Authentication screen of God mode, which is the instance administration area of self-hosted Plane. Name at least two people who hold instance admin rights so that one departure does not lock the team out of configuration. Confirm that those accounts sign in with a local password or another working method, since GitHub sign-in should not be the only route to the admin console.
A GitHub owner who can register OAuth apps
Registering an OAuth app requires an individual GitHub account or an organization where your account has permission to create OAuth apps. Decide whether the app belongs to a personal account or your organization, because ownership affects who can rotate the client secret later. Check that organization policy does not restrict third-party OAuth app registration. Record the owner in your team's runbook.
A written sign-in access decision
GitHub authenticates a person, but it does not decide who belongs in your Plane workspace. Write down which GitHub accounts or organization members may sign in, and whether anyone outside the company can reach the instance. Decide how new engineers will be added to Plane workspaces after their first sign-in. This list is the baseline for testing and for any later review of who can access the instance.
Version and edition confirmed
GitHub sign-in steps can differ between Plane releases, so match your install to the current OAuth documentation before you copy any field names. Note which edition the instance runs and which release it is on, since the Community and Commercial builds are separate codebases with their own release cycles. Confirm the version in your own environment and keep it in the change record with the configuration.
How to register the GitHub OAuth app and add it in God mode
This sequence registers a GitHub OAuth app that points at your self-hosted Plane domain, then stores its client ID and secret in God mode so engineers can sign in with their GitHub accounts. Each step ends with a check so you know the credentials and callbacks work before you tell users to rely on them.
Confirm the public HTTPS domain for Plane
Before touching GitHub, confirm the exact HTTPS address that users will open to reach your self-hosted Plane instance, including any subdomain. The OAuth app's homepage URL and callbacks are built from this domain, so a mismatch between the registered address and the address in the browser will cause sign-in to fail. Ask your platform owner to confirm the domain and that it resolves over HTTPS from the networks your engineers use. Done means you have one written domain value that every later step will reuse.
Create the OAuth app in GitHub
Sign in to GitHub with an account that can manage the OAuth app for the organization or personal namespace that will own it, then create a new OAuth application from the developer settings. Give the app a name your engineers will recognize on the consent screen. Keep the owner and the app name in your change record so the credentials can be rotated by the right person later. Done means the app exists in GitHub and shows a client ID, though no secret has been generated yet.
Set the homepage URL to the Plane domain
In the OAuth app settings, enter the HTTPS Plane domain from the first step as the homepage URL, with no path added. This value identifies your Plane instance to GitHub during sign-in. Open the homepage in a private browser window to confirm it loads Plane over HTTPS with a valid certificate. Done means the homepage URL matches the address users type, character for character.
Register the web and mobile callback URLs
Set the authorization callback URL to the Plane domain followed by /auth/github/callback/. Plane also documents a separate mobile callback at /auth/mobile/github/callback/ on the same domain, so register that path as well if your GitHub app configuration allows one callback entry per app, confirm in the current GitHub documentation how a second callback is handled. Check the saved values for the trailing slash and the exact spelling of each path. Done means both callback paths are recorded against the same domain as the homepage.
Generate and copy the client ID and secret
Generate a client secret from the OAuth app page and copy it immediately, because GitHub shows it only once. Copy the client ID as well. Store both values in your organization's approved secrets manager rather than in a shared document, and record who generated them and when. Done means you hold the client ID and a newly generated secret in a location your team controls, and the old secret, if any, is removed from any place it was pasted.
Add the credentials on the Authentication screen in God mode
Sign in to God mode on your Plane instance as an instance administrator, open the Authentication screen, and find the GitHub sign-in section. Paste the client ID and client secret into their fields, then save the configuration. Restart or reload according to your deployment method if the screen says a change is pending. Done means the GitHub option is saved in God mode with both values populated, and no field is left empty.
Test sign-in in a private browser window
Open a new private browser window, go to the Plane sign-in page, and choose the GitHub option. Approve the consent prompt with a test engineer account and confirm that Plane lands you in a workspace. Repeat with a second account if your team uses different GitHub organizations. Sign out afterward. Done means a fresh session completes the GitHub round trip without a redirect error, and you have noted any error message that appeared.
Confirm the mobile callback resolves on the same domain
Check that the mobile callback path, /auth/mobile/github/callback/, resolves on the same HTTPS Plane domain as the web callback, for example by requesting it in a browser or with a simple HTTP client and noting the response. Confirm the request reaches Plane and is not sent to a different host or blocked by a proxy rule. If you use the Plane mobile app, sign in from a device to confirm the flow completes. Done means both callback paths respond on the registered domain and the mobile flow has been exercised, or the gap is logged for follow-up.
How a GitHub login reaches Plane
The flow starts in the engineer's browser on the Plane sign-in page, which sends the browser to GitHub's authorization endpoint. After the engineer approves access, GitHub redirects the browser back to the web or mobile callback on your Plane domain, and Plane then creates its own session. Check that the homepage and callback URLs in the GitHub OAuth app match your HTTPS Plane domain exactly, since a mismatch stops the hand-off at the callback step. The trust boundary sits between your Plane instance and GitHub, so only the redirect and the token exchange cross it.
GitHub sign-in hand-offs between the engineer's browser, Plane and GitHub.
Which GitHub account fields Plane uses at sign-in
This table maps the identity fields GitHub returns during OAuth sign-in to the Plane user record and shows which mappings the team must verify on its own instance. Read the Notes column as the checklist to confirm in a test sign-in before rollout. The main takeaway is that the GitHub account ID and the verified email address decide which Plane account a sign-in lands on, so the email choice needs the most scrutiny.
| Field | Role at sign-in | Notes |
|---|---|---|
| GitHub user ID (numeric) | Stable identity key | Expected to be the lasting link to a GitHub account. Confirm with a test login that Plane stores it and reuses it after a username change. |
| GitHub username (login) | Display or lookup value | Can change over time, so confirm whether Plane uses it to match accounts or only to display names. |
| Primary verified email | Matches or creates the Plane user | Confirm whether Plane matches existing accounts by this email and whether unverified addresses are ever accepted. |
| Private or hidden email | Possible sign-in gap | If the GitHub account hides its email, confirm whether Plane still creates an account and what address it stores. |
| Display name | Profile name on first login | Confirm whether Plane copies the name on first sign-in only or refreshes it on every login. |
| Avatar URL | Profile image | Confirm whether Plane copies the image once or pulls it again later. |
| Organization membership | Not used for sign-in | Expected to play no part in account matching. Confirm, because GitHub organization rules do not restrict this OAuth login by default. |
How GitHub sign-in differs from the GitHub integration
GitHub OAuth sign-in only decides who can log in to your self-hosted Plane instance. It is configured with a GitHub OAuth app, a client ID and secret entered in God mode, and callback URLs that Plane uses to complete the login. It does not give Plane permission to read or change issues, and it does not connect repositories to projects. The GitHub integration is a separate feature with its own setup, and it handles issue sync and pull request automation. Because the two use different credentials and different steps, you can turn on one, both, or neither. Plane's documented integrations are described in the Plane integrations overview group of this page's section set, so check that page before you assume one setup covers the other.
For most teams, sign-in comes first. Engineers need an account and a working login before the integration can be used by anyone in the workspace, and the sign-in setup is the one that touches the instance's authentication settings. Decide which GitHub organization or accounts may sign in, confirm that your identity policy allows personal GitHub accounts, and record who owns the OAuth app so that secret rotation does not depend on one person. Then configure the integration as a second step, with its own review of which repositories it can reach and which project mappings it creates. Confirm both steps in your own environment, because the exact screens and permissions can change between Plane releases.
Keep the expectations narrow. GitHub sign-in does not sync issues, does not create or update pull requests, and does not map GitHub teams to Plane roles or project access. Any group-based access control must be handled through your identity provider or through Plane's own role settings, which are covered in the group sync material. Likewise, the integration does not replace sign-in, so disabling GitHub login will not stop issue sync and removing the integration will not change who can authenticate. Write these boundaries into your access review so that an auditor or colleague does not assume that a GitHub connection grants or limits access across both features.
Hardening GitHub sign-in for an organization
GitHub sign-in is only as tight as the OAuth app, the credentials behind it and the fallback path if GitHub or the app configuration fails. The cards below cover the decisions an organization should verify in its own environment before engineers rely on GitHub to reach self-hosted Plane. Each one connects to the OAuth app registration, the God mode settings and the admin access that stays in place.
Scope the OAuth app to the owning organization
The GitHub OAuth app should be registered under the GitHub organization that owns your engineering accounts, not a personal account. Confirm who holds owner rights on that app, since those people can change its callback URLs or rotate its secret. Check that the homepage URL matches the HTTPS Plane domain you operate, so a misconfigured or copied app cannot send users to an unexpected host. Record the owners and review them when staff leave.
Plane GitHub OAuth docsStore the client secret in a secrets manager
The client secret entered on the Authentication screen of God mode grants the ability to complete GitHub sign-in for your instance, so treat it as a credential. Keep it out of Helm values files, Compose files and shared chat threads. Confirm where your team keeps it, who can read it, and how a rotation would be applied to Plane and then verified. Note the date of each rotation in your change records.
Keep a local admin for recovery
If the GitHub app is revoked, its secret rotates without a matching update, or GitHub has an outage, engineers may be unable to sign in at all. Confirm that at least one local administrator account exists, that its password is stored in a controlled vault, and that someone other than the usual admin can reach it. Test the recovery path once in a non-production instance before you depend on it.
Decide whether password login stays on
Once GitHub sign-in works, decide whether email and password login remain available to everyone, only to administrators, or not at all. Each path is a separate way into the workspace, and each needs its own review of lockout and reset handling. Write down the decision, who approved it, and how an engineer without GitHub access would request an account. Confirm the current setting in your release before you change it.
Review session length in God mode
GitHub sign-in does not set how long a Plane session lasts, so the session settings in God mode still control exposure on shared or unmanaged devices. Review the session lifetime and the God mode admin session separately, because administrative access carries more risk than a standard user session. Confirm the values with your security team and record them as part of the instance baseline.
Separate GitHub sign-in from repository access
Signing in with GitHub proves identity to Plane, but it does not, on its own, decide which Plane workspace or project a person can see. Confirm how new GitHub users are placed into workspaces and whether that placement depends on a manual invite. Check that the GitHub integration, which links issues and pull requests, is granted separately and reviewed on its own schedule. Do not assume that removing someone from a GitHub organization removes their Plane access until you have tested it.
Why GitHub sign-in fails on self-hosted Plane
This table lists the failures engineers most often hit when GitHub sign-in stops working on self-hosted Plane, with the cause and fix for each. Check the rows in order, since the callback and homepage URLs are the first things to compare against the domain Plane actually serves.
| Failure | Likely cause | Fix |
|---|---|---|
| Callback URL mismatch | The GitHub OAuth app callback does not exactly match /auth/github/callback/ on your Plane domain, often due to a typo, missing trailing slash or a different hostname. | Edit the GitHub OAuth app so the callback is your Plane domain plus /auth/github/callback/, then retry sign-in. |
| Homepage URL does not match the served domain | The homepage URL in the GitHub OAuth app points to a different host, such as an old test domain or an IP address, than the one users open. | Set the homepage URL to the exact HTTPS Plane domain users browse to, with no path or port mismatch. |
| Plain HTTP domain | Plane is reached over HTTP, or the GitHub app was registered with an http:// address, which the redirect flow does not accept as expected. | Serve Plane over HTTPS with a valid certificate and register the https:// domain in the GitHub app and in Plane's settings. |
| Missing mobile callback | The /auth/mobile/github/callback/ URL was not added, so GitHub sign-in works in the browser but fails in the Plane mobile app. | Add the mobile callback URL to the same GitHub OAuth app, using your Plane domain, and test sign-in from the mobile app. |
| Wrong or rotated client secret | The client secret was copied incorrectly, or it was regenerated in GitHub and the old value remains in God mode. | Generate a new client secret in GitHub, paste it into the Authentication screen of God mode, and save before testing again. |
| Account email conflict | The GitHub account's primary email matches an existing Plane account created through another method, or the GitHub email is private or unverified. | Confirm the GitHub primary email is public or verified, match it to the existing Plane user, and remove duplicate accounts before retrying. |
Questions teams ask before setting up GitHub sign-in
What drives the effort of setting up GitHub sign-in for self-hosted Plane?
Effort depends mostly on how many environments need GitHub sign-in, whether your team already controls the Plane domain and HTTPS certificate, and who has access to God mode and the GitHub organization that will own the OAuth app. A single production instance with a stable domain is a small, bounded change: register one OAuth app, copy the client ID and secret, and enter them on the Authentication screen. Effort grows when you add staging or mobile testing, when the domain is still changing, or when the GitHub account that registers the app has to be arranged through a separate approval step. Ask any partner for a quote that lists each environment, each callback URL and the testing steps separately.
How long does it take to register one GitHub OAuth app for Plane?
The registration itself is short, because the GitHub OAuth app needs only a homepage URL, two callback URLs and a client secret. Most of the elapsed time comes from things around it: confirming the final HTTPS domain, deciding which GitHub account or organization owns the app, and testing sign-in with real engineer accounts. No timeline figure is supplied for this work, so confirm the schedule with your own change process and with the partner who will carry it out. Ask for the steps and the people needed, not just a number of days.
What do Plane and GitHub administrators need to provide for this setup?
You need two roles. A GitHub administrator, or an owner of the organization that will hold the app, registers the OAuth app and shares the client ID and client secret through a secure channel. A Plane instance administrator with God mode access adds those credentials on the Authentication screen and confirms the sign-in buttons appear. Your team also needs to know the exact HTTPS domain Plane is served from, because the homepage URL and callbacks must match it. Keep the client secret out of chat and tickets, and record who holds God mode access.
Can an internal IT team set up GitHub sign-in on its own?
Yes, an internal team with access to God mode and GitHub organization settings can do it without outside help, because the steps are documented in the Plane GitHub OAuth guide and involve no custom code. The points where teams usually stumble are the callback paths, including the mobile callback, and the domain matching between GitHub and Plane. If nobody on the team has administered a Plane instance before, or the instance is in a regulated environment where change records and testing evidence matter, an outside partner can document the setup and test it. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, so that option is available if your team prefers it.
Does GitHub sign-in replace SAML or OIDC single sign-on for Plane?
No. GitHub sign-in is a social OAuth login that authenticates people with their GitHub accounts, so it suits engineering teams who already live in GitHub. It does not give you the directory-backed controls that SAML or OIDC provide, such as central offboarding through your corporate identity provider, group claims that drive workspace roles, or a single place to enforce sign-in policy for the whole company. Many organizations keep GitHub sign-in for developers and use SAML or OIDC for staff who need identity provider control. Decide which population each method covers before you enable either one.
Is GitHub OAuth sign-in the same thing as the GitHub integration in Plane?
No. The OAuth app controls who can sign in to Plane with a GitHub account. The GitHub integration is a separate feature that syncs issues and pull requests between Plane and GitHub repositories, and it is documented under Plane integrations. Setting up one does not configure the other, so you may need to complete each separately. Check the Plane integrations and GitHub OAuth documentation to confirm which steps each needs before planning the work.
What changes if our Plane domain moves to a new address?
The OAuth app must be updated, because its homepage URL and callback URLs are tied to the Plane domain. After a domain change, update the homepage URL and both callback paths in the GitHub OAuth app settings, then confirm the same HTTPS domain is used in Plane's configuration. Test sign-in in a non-production instance first, and plan a short window for engineers who sign in during the change. Teams that expect a domain change should register the final domain early, or use a stable name that will not need to move.
What happens to existing Plane accounts when we turn on GitHub sign-in?
Enabling GitHub sign-in adds a login method but does not by itself remove existing password or email-code access, so accounts already in Plane keep working. Confirm with your administrators how GitHub identities will be matched to existing Plane users before you roll out, particularly if people use different email addresses on GitHub and in Plane. Decide on a break-glass admin account with a known login method before changing any sign-in settings, so that a misconfigured provider cannot lock everyone out.
How DeployOpen scopes and delivers Plane sign-in work
Sign-in work for self-hosted Plane starts with a written scope, not a configuration session. DeployOpen plans, implements and documents self-hosted open-source platforms inside the client's own infrastructure, including the cloud accounts, data centers or air-gapped networks where Plane runs. For GitHub OAuth, the scope usually settles which hostname Plane is served on, which GitHub account or organization owns the OAuth app, who holds God mode access to enter the client ID and secret, and whether mobile sign-in must work from day one. Those answers decide the homepage URL, the callback paths and the people who need to approve each change. Deliverables and timelines are agreed in writing before work begins, so the client knows what is handed over, such as a tested sign-in flow, a record of the settings applied and a short operator runbook.
Scope also needs to separate GitHub sign-in from the GitHub integration. Sign-in only authenticates people, while the integration is a separate feature set for issue sync and pull request automation, so a written scope should name each one and state whether it is in or out. Clients should ask DeployOpen to confirm, in the scope document, who owns the GitHub OAuth app after handover and how credentials are rotated. Where the organization also plans SAML, OIDC or LDAP, the scope should say how GitHub sign-in will coexist with those routes and whether password login stays enabled during the transition.
Testing and ongoing support are available as separate engagements. A security test of the sign-in path, covering the login flow, admin access to God mode and the handling of the client secret, can be scoped alongside the build or run later against the live instance. Support retainers can cover Plane upgrades, changes to the callback URLs when the domain moves, and periodic checks that the OAuth app still matches the deployed hostname. Clients should ask for the written scope, the list of deliverables, the verification steps and the support terms in the quote, and confirm each item against their own environment before approving the work.

