# 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](https://almaforge.com/learn/teleport-google-workspace-sso.md), [Microsoft Entra ID (Azure AD)](https://almaforge.com/learn/teleport-entra-id-sso.md), and [Okta](https://almaforge.com/learn/teleport-okta-sso.md), 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[​](#how-the-teleport-uses-external-sso-check-works "Direct link to How the Teleport \"uses external SSO\" check works")

The logic is remarkably simple. You can inspect `checkGithubOrgSSOSupport` directly in [`lib/auth/github.go`](https://github.com/gravitational/teleport/blob/1f1abdcbe208f3d789eb0f9986c0d5792f1f3a23/lib/auth/github.go#L272-L327). In pseudocode:

text

```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](https://github.com/gravitational/teleport/pull/14529).

In practice, this is an example of the [SSO tax](https://ssotax.org), 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[​](#how-to-fix-the-github-external-sso-error "Direct link to 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](https://www.vendr.com/marketplace/teleport), 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](https://goteleport.com/docs/installation/linux/), 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](https://almaforge.com/index.md) includes [GitHub SSO](https://almaforge.com/sso/github.md) and team-to-role mapping in [AlmaForge Free](https://almaforge.com/pricing.md), including GitHub organizations that use SAML SSO and GitHub Enterprise Server. It also supports [Okta](https://almaforge.com/sso/okta.md), [Microsoft Entra ID](https://almaforge.com/sso/microsoft.md), [Google Workspace](https://almaforge.com/sso/google.md), Keycloak, and other [OIDC providers](https://almaforge.com/sso/oidc.md).

The platform uses short-lived certificates, reverse tunnels, [label-based RBAC](https://almaforge.com/rbac.md), session playback, and [audit logs](https://almaforge.com/reference/audit.md). It also includes [just-in-time access requests](https://almaforge.com/just-in-time-access.md), ChatOps integrations, and a [kubectl-style CLI](https://almaforge.com/cli.md).

You can keep your existing GitHub organization, SAML SSO settings, and teams for an evaluation. Create a separate [GitHub OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-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)

```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)

```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)

```bash
tctl create -f github.yaml
ERROR: GitHub organization example-org uses external SSO,
please purchase a Teleport Enterprise license if you want
to authenticate with this organization
```

AlmaForge Free & Enterprise (alma)

```bash
alma apply -f github.yaml
alma login --proxy=almaforge.example.com
```

Download [`github.yaml`](https://almaforge.com/examples/sso/github.yaml). For GitHub Enterprise Server, use [`github-enterprise.yaml`](https://almaforge.com/examples/sso/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](https://almaforge.com/sso/github.md#organization-consent-required) and [GitHub's guide to authorizing apps for SSO](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-single-sign-on/authorizing-an-app-for-single-sign-on).

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](https://almaforge.com/migrate/teleport.md) when you are ready.

## Further reading[​](#further-reading "Direct link to Further reading")

* [AlmaForge for Teleport users: migrate with a side-by-side deployment.](https://almaforge.com/migrate/teleport.md)
* [Configure GitHub SSO in AlmaForge.](https://almaforge.com/sso/github.md)
* [Run a local AlmaForge cluster in ten minutes.](https://almaforge.com/quickstart.md)
* [Compare AlmaForge Free and Enterprise editions.](https://almaforge.com/pricing.md)

***

### 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.
