Let members link their GitHub account
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For an organisation administrator. Procedure connector.forge_account.github-oauth, version 1, reviewed 2026-11-12 against the vendor’s own pages. It applies to the connector type forge_account/github-oauth.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- An organisation owner at GitHub (or a person who may create an OAuth app for it).
- What it is for: each member signs in to GitHub once from My account and the platform records their GitHub numeric user id as a verified link. The id is what a signed GitHub comment carries when a member pauses, resumes or stops a work item from the issue.
- The platform reads the member’s user once, at the link, and keeps neither the access token nor anything else than the id, the login, the avatar and the profile address.
At GitHub
Section intitulée « At GitHub »- Your organisation’s settings, Developer settings, OAuth Apps, New OAuth App.
- Homepage URL:
<public_url>. Authorization callback URL:<api_url>/api/v1/auth/linked-accounts/callback. - Register application, copy the Client ID, then Generate a new client secret and copy it: it is shown once.
A GitHub App’s client id and secret work too (its user authorization uses the same endpoints and the
same callback URL). Give that App no repository or organisation permission: the platform only reads
/user with it. Do not reuse the App the platform uses for repositories.
Permissions
Section intitulée « Permissions »The platform asks for the read:user scope and nothing else: it can read the member’s public profile,
not their repositories, organisations or e-mail addresses. With a GitHub App the scope is ignored and
the App’s own permissions apply: keep them empty.
In Tranibor
Section intitulée « In Tranibor »- Administration, Connectors, Declare: capability Member accounts, type GitHub sign-in.
base_url: leavehttps://github.com, or your GitHub Enterprise Server’s address.client_id: the Client ID.client_secret: the client secret, in the password field.- Tick open the hosts in the egress allowlist (or open
github.comandapi.github.comyourself).
Open My account, Linked accounts, Link next to GitHub. After signing in at GitHub you come back to the page and the account shows with a Verified badge and your GitHub login.
When it fails
Section intitulée « When it fails »link_error=forge_refusedand GitHub showed “The redirect_uri is not associated with this application”: the callback URL at GitHub differs from<api_url>/api/v1/auth/linked-accounts/callback.link_error=forge_refusedright after consenting: the client secret is wrong or was regenerated.link_error=instance_unusable: the connector’s secret cannot be read; type it again.link_error=taken: that GitHub account is already linked to another member of the organisation; an administrator removes the other link first.- A timeout, or
egress_refusedin the logs: opengithub.comandapi.github.comin the egress allowlist.
| Field | What to put in it |
|---|---|
base_url |
https://github.com, or your GitHub Enterprise Server’s address |
client_id |
the OAuth app’s Client ID |
client_secret |
a client secret of the OAuth app, typed once |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
github.comapi.github.com