Skip to main content

Teleport Error: GitHub Organization Uses External SSO

Last verified: December 2026

Getting this error when configuring GitHub SSO or signing in to Teleport Community Edition?

ERROR: GitHub organization <org> uses external SSO, please purchase a Teleport Enterprise license if you want to authenticate with this organization

Good news: there is nothing wrong with your GitHub organization, and your Teleport configuration is probably fine. The "GitHub organization uses external SSO" error is a licensing restriction in Teleport Community Edition, not a configuration issue.

Teleport Community Edition restricts corporate single sign-on (SSO) via OIDC and SAML, including Google Workspace, Microsoft Entra ID (Azure AD), and Okta, to Teleport Enterprise. GitHub SSO is the only external SSO option available in Community Edition.

To prevent GitHub from being used as a workaround for corporate SSO, Teleport Community Edition explicitly checks whether your GitHub organization uses external SSO, such as GitHub SAML SSO, and denies authentication if it does. This restriction is enforced when you create or update a GitHub connector and every time a user signs in.

As of December 2026, Teleport Community Edition provides no configuration setting to disable the GitHub external SSO check.

How the Teleport "uses external SSO" check works​

The logic is remarkably simple. You can inspect checkGithubOrgSSOSupport directly in lib/auth/github.go. In pseudocode:

text
if (community_edition && github_org_uses_external_sso) {
deny("ERROR: GitHub organization <org> uses external SSO, please purchase a
Teleport Enterprise license if you want to authenticate with this
organization")
}

Teleport Community Edition runs this check in two places:

  • When you create or update a GitHub connector. tctl create -f github.yaml checks every organization listed in teams_to_roles. If any of them uses external SSO, Teleport rejects the connector.
  • When a user signs in. tsh login --auth=github and the Web UI check the organizations the user belongs to. Login fails if a relevant organization uses external SSO.
Working connectors break when GitHub SAML SSO is enabled

If your company enables SAML SSO for its GitHub organization tomorrow, your previously working Teleport GitHub connector can stop authenticating users. Nothing has changed in your Teleport configuration. The licensing restriction simply kicks in.

For GitHub.com, Teleport detects external SSO by sending an HTTP GET request to https://github.com/orgs/<org>/sso. An HTTP 200 response indicates external SSO. Teleport retries on timeouts and caches the result per organization. Enterprise builds skip the check entirely. The restriction was introduced in gravitational/teleport#14529.

In practice, this is an example of the SSO tax, which the SSO Tax project defines as "the practice of SaaS vendors to upcharge for Single-Sign-On." Here, GitHub login works in Community Edition, while organizations that enforce corporate SSO on GitHub require a Teleport Enterprise license.

How to fix the GitHub external SSO error​

There is currently no configuration flag to disable the check. Changing your GitHub OAuth client ID, client secret, or callback URL will not resolve this error. If you need to keep SAML SSO enabled for your GitHub organization, your options are Teleport Enterprise, a custom Teleport fork, or another infrastructure access platform that supports GitHub SSO without this restriction.

Disabling SAML SSO on GitHub can also resolve the error once Teleport's cached result expires. However, this changes your authentication policy for the entire GitHub organization. If your company requires corporate SSO, this is not a suitable workaround.

Upgrade to Teleport Enterprise

Upgrading to Teleport Enterprise is the officially supported way to use GitHub SSO with a SAML-protected organization on your existing Teleport cluster.

How much does Teleport Enterprise cost for SSO?

According to Vendr, a software procurement and pricing intelligence platform, the median annual Teleport contract is $50,950/year, with reported contracts reaching $137,119/year (156 purchases, February 2026). These figures reflect total contract values, not the standalone cost of SSO.

If Teleport Community Edition already meets your infrastructure access requirements and GitHub SAML SSO is your only reason to upgrade, consider whether an Enterprise subscription is worth the cost.

Upgrading to self-hosted Teleport Enterprise also requires more than applying a license key. As documented in Teleport's Linux installation guide, Community Edition and Enterprise are distributed as separate builds. For package-based deployments, you will need to replace teleport with teleport-ent and maintain a valid Enterprise license.

Maintain a custom Teleport fork

Another option is to fork Teleport's AGPLv3-licensed codebase and remove the external SSO check. Give Claude Code, Codex, or Google Antigravity the codebase and a well-crafted prompt, and you might have a working patch in minutes.

The real work begins with the next upstream release. Your team becomes responsible for upstream merges, security backports, authentication testing, and building and distributing custom binaries across your infrastructure. AGPLv3 copyleft obligations come bundled, too. Corporate legal loves AGPLv3. Especially when you fork it.

Consider an alternative to Teleport

AlmaForge includes GitHub SSO and team-to-role mapping in AlmaForge Free, including GitHub organizations that use SAML SSO and GitHub Enterprise Server. It also supports Okta, Microsoft Entra ID, Google Workspace, Keycloak, and other OIDC providers.

The platform uses short-lived certificates, reverse tunnels, label-based RBAC, session playback, and audit logs. It also includes just-in-time access requests, ChatOps integrations, and a kubectl-style CLI.

You can keep your existing GitHub organization, SAML SSO settings, and teams for an evaluation. Create a separate GitHub OAuth app so your existing Teleport OAuth app remains unchanged.

Reuse your GitHub SSO configuration with AlmaForge

Set https://<almaforge-proxy>/api/v1/github/callback as the Authorization callback URL on your evaluation GitHub OAuth app and apply the corresponding SSO connector:

Teleport Community Edition (github.yaml)
kind: github
version: v3
metadata:
name: github
spec:
display: GitHub
client_id: <client-id>
client_secret: <client-secret>
redirect_url: https://teleport.example.com/v1/webapi/github/callback
teams_to_roles:
- organization: example-org
team: sre
roles: [editor, access]
- organization: example-org
team: developers
roles: [access]
- organization: example-org
team: interns
roles: [access]
AlmaForge Free & Enterprise (github.yaml)
# GitHub OAuth connector with organization team-to-role mappings.
apiVersion: almaforge.com/v1
kind: GithubConnector
metadata:
name: github
spec:
display: GitHub
clientID: <client-id>
clientSecret: <client-secret>
teamsToRoles:
- organization: example-org
team: sre
roles: [admin, access]
- organization: example-org
team: developers
roles: [access]
- organization: example-org
team: interns
roles: [access]
Teleport Community Edition (tctl)
tctl create -f github.yamlERROR: GitHub organization example-org uses external SSO,please purchase a Teleport Enterprise license if you wantto authenticate with this organization
AlmaForge Free & Enterprise (alma)
alma apply -f github.yamlalma login --proxy=almaforge.example.com

Download github.yaml. For GitHub Enterprise Server, use github-enterprise.yaml, which adds endpointURL and apiEndpointURL.

AlmaForge uses the same GitHub OAuth flow and team-to-role mapping as Teleport, with no check on whether your organization uses SAML SSO. If your organization uses SAML SSO, establish an active SSO session at https://github.com/orgs/<org>/sso in your browser before authorizing the OAuth app. If your organization restricts OAuth app access, an organization owner must also approve the app. See Organization consent required and GitHub's guide to authorizing apps for SSO.

Run an AlmaForge evaluation alongside Teleport and test GitHub SSO with your existing teams. Your production Teleport cluster remains unchanged. If AlmaForge fits your requirements, follow the migration guide when you are ready.

Further reading​


Disclaimer

Teleport and other third-party trademarks are the property of their respective owners and are used solely for identification and comparison. AlmaForge is not affiliated with, sponsored by, or endorsed by Teleport or its owners. This guide reflects publicly available information reviewed as of December 2026. Product features, pricing, and licensing are subject to change.