Configure OAuth
Create an OAuth application in GitLab with theapi and read_repository scopes. Set its callback to the exact API callback URL, then configure:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure a GitLab OAuth application in the runtime environment and authorize one account.
api and read_repository scopes. Set its callback to the exact API callback URL, then configure:
TOWBAR_GITLAB_ENABLED=true
TOWBAR_GITLAB_BASE_URL=https://gitlab.com
TOWBAR_GITLAB_ALLOW_PRIVATE_NETWORK=false
TOWBAR_GITLAB_OAUTH_CLIENT_ID=<application-id>
TOWBAR_GITLAB_OAUTH_CLIENT_SECRET=<application-secret>
TOWBAR_GITLAB_OAUTH_REDIRECT_URI=https://api.towbar.example/v1/core/gitlab/oauth/callback
TOWBAR_GITLAB_WEBHOOK_SECRET=<shared-webhook-secret>
