Let members link their GitLab 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.gitlab-oauth, version 1, reviewed 2026-11-12 against the vendor’s own pages. It applies to the connector type forge_account/gitlab-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 »- A GitLab group owner (for a group application) or an instance administrator (for an instance-wide application on a self-managed GitLab).
- What it is for: each member signs in to GitLab once from My account and the platform records their GitLab numeric user id as a verified link. The access token is used for that one read and dropped.
At GitLab
Section intitulée « At GitLab »- The group’s Settings, Applications (or, on a self-managed instance, Admin, Applications), Add new application.
- Redirect URI:
<api_url>/api/v1/auth/linked-accounts/callback. Keep Confidential ticked. - Scopes: tick
read_useronly. Save application, copy the Application ID and the Secret.
Permissions
Section intitulée « Permissions »read_user reads the member’s own profile: id, username, avatar, profile page. It gives no access to
projects, groups or the API on the member’s behalf beyond that read.
In Tranibor
Section intitulée « In Tranibor »- Administration, Connectors, Declare: capability Member accounts, type GitLab sign-in.
base_url: leavehttps://gitlab.com, or your instance’s address (https://gitlab.example).client_id: the Application ID.client_secret: the Secret, in the password field.- Tick open the hosts in the egress allowlist, or open the instance’s host yourself.
Open My account, Linked accounts, Link next to GitLab. After signing in at GitLab you come back to the page and the account shows with a Verified badge and your GitLab username.
When it fails
Section intitulée « When it fails »- GitLab says “The redirect URI included is not valid”: the Redirect URI differs from
<api_url>/api/v1/auth/linked-accounts/callback. - GitLab says “The requested scope is invalid”:
read_useris not ticked on the application. link_error=forge_refusedafter consenting: wrong Secret, or the application was renewed.link_error=taken: that GitLab account is already linked to another member of the organisation.- A timeout: open the instance’s host in the egress allowlist.
| Field | What to put in it |
|---|---|
base_url |
https://gitlab.com, or your self-managed instance’s address |
client_id |
the application’s Application ID |
client_secret |
the application’s Secret, typed once |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
gitlab.com