This page covers on-prem (self-hosted) setup. You register your own GitLab
OAuth application so authentication runs against your GitLab instance. For the
hosted SaaS integration, see Setup → GitLab.
Register the GitLab OAuth app
Fill in the details
| Field | Value |
|---|---|
| Name | Garth Assist |
| Redirect URI | https://<dns-host>/api/garth-assist/oauth/gitlab/callback |
| Confidential | Enabled |
Select scopes
Grant the following scopes:
| Scope | Description |
|---|---|
api | Access the API on your behalf |
read_api | Read API |
read_user | Read your personal information |
read_repository | Allows read-only access to the repository |
write_repository | Allows read-write access to the repository |
openid | Authenticate using OpenID Connect |
profile | Read-only access to the user’s personal information using OpenID Connect |
email | Read-only access to the user’s primary email address using OpenID Connect |
Environment variables
Record the following values for your on-prem deployment:| Environment variable | Value |
|---|---|
GITLAB_CLIENT_ID | The Application ID shown after saving |
GITLAB_CLIENT_SECRET | The Secret shown after saving |

