GitHub
GitHub is plain OAuth2, not OpenID Connect. It proves the account, but it signs nothing: there is no identity token to verify against published keys, so the trust rests on the code exchange itself and on TLS. That is a step below an OIDC provider, and worth knowing before you put it in front of an internal application.
Available in the community and Enterprise editions. It suits a gateway whose users are developers you already know by their GitHub organisation.
Set it up
Prerequisites: a GitHub account allowed to create an OAuth app (for an organisation's app, an owner of that organisation), and the public name people reach the data plane by, for instance https://apps.acme.io.
- In Meerkat, open Infra > Authentication, click the + button (New authority) and choose GitHub. The top of the drawer, Register these on the authority, shows the two values GitHub asks for, with copy buttons.
- Click Create an OAuth app on GitHub: it opens GitHub's form for a new OAuth app, signed in as you.
- On GitHub, give the app a name and paste the two values (table below), then Register application.
- On the app's page, copy the Client ID, then Generate a new client secret and copy it: GitHub shows it only once.
- Back in Meerkat, paste the Client ID and the Client secret (then Move into the vault), fill Allowed organisations, and click Create.
- Turn on the switch on the authority's row, open
https://apps.acme.io/loginin a private window and click the GitHub button. A first sign-in lands on the waiting page: place the account in a tenant and grant it roles in the console.

| GitHub's label | What to paste |
|---|---|
| Homepage URL | your data plane origin, https://apps.acme.io |
| Authorization callback URL | https://apps.acme.io/login/github/callback |
The fields in Meerkat:
| Field | What to put in it |
|---|---|
| Client ID | from the OAuth app, a string like Ov23li... |
| Client secret | from the same place. Required, unlike OIDC |
| Allowed organisations | comma separated, for instance acme-io, acme-labs |
If one of your organisations restricts third-party applications, an owner of that organisation approves the app on GitHub, or the sign-in fails (see below).
The exchange
- Requested scopes:
user:email, plusread:orgonly when you named organisations. Adding that second scope makes GitHub ask the person for consent again, once. stateis minted and checked. There is no PKCE and no nonce here: GitHub OAuth apps support neither, sostateis the only guard against a replayed callback.- GitHub's habit of answering an error inside a
200response is handled.
What Meerkat reads
| Identity | Where from |
|---|---|
| Subject, the stable link | the numeric account id, never the login - a login can be renamed and taken by somebody else |
| Username | login |
| Full name | name |
| the account's address, then the verified-address list, preferring the primary verified one | |
| Groups | <org> for each organisation, <org>/<team> for each team |
An address is only marked verified when it was found in that verified list. If the list cannot be read, the address stays unverified - which means it will not be matched against an existing local account. That is deliberate: matching on an unverified address is an account takeover.
A verified address that an existing account already holds is not joined on GitHub's word either: that account proves it is theirs first, by a code mailed to its address and its second factor, or by connecting GitHub from its profile. See Joining an authority to an existing account.
Groups are fetched only when you named organisations. They become memberships and roles through a group rule on a tenant.
How the organisation restriction behaves
The check runs once the identity is assembled and before anything local is touched. An entry matches if it is the organisation itself, or one of its teams: both acme-io and acme-io/platform satisfy acme-io. Case is ignored. Otherwise the person is refused, and told which organisations are allowed.
If Meerkat cannot read the account's organisations at all, the sign-in fails rather than being treated as "belongs to nothing". The usual cause is named in the error: an organisation that restricts third-party applications has to approve this OAuth app.
Test the connection
For GitHub the button only checks that the authorize URL answers. It cannot validate the client secret - only a real sign-in does that.