@if ($isConnected)

GitLab App

Save Test Connection @can('delete', $gitlab_app) @endcan
Your GitLab App for private repositories.
@if (!isCloud())
@if ($isSystemWide) System-wide GitLab Apps are shared across all teams on this Coolify instance. This means any team can use this GitLab App to deploy applications from your repositories. For better security and isolation, it's recommended to create team-specific GitLab Apps instead. @endif @endif

OAuth Credentials

@foreach ($privateKeys as $key) @endforeach

Webhook

Configure this webhook URL in your GitLab project settings (Settings > Webhooks):
@if ($applications->count() > 0)

Applications Using This Source

@endif
@else

GitLab App

@can('delete', $gitlab_app) @endcan
Connect your GitLab instance to deploy private repositories.
You must complete this step before you can use this source!

Step 1: Create an OAuth Application on GitLab

Go to your GitLab instance and create a new OAuth Application:

{{ rtrim($htmlUrl, '/') }}/-/profile/applications
  • Set Redirect URI to: {{ $redirectUri }}
  • Enable scopes: api, read_user, read_repository
  • Uncheck Confidential if you run into issues

Step 2: Enter the credentials

Save
@if (!isCloud() || isDev())
GitLab will redirect back to this Coolify URL. It must match the Callback URL on your GitLab OAuth Application exactly.
@if ($fqdn) @endif @if ($ipv4) @endif @if ($ipv6) @endif @if (config('app.url')) @endif
@endif
@if (!isCloud())
@endif
@if ($clientId)

Step 3: Authorize with GitLab

Click the button below to authorize Coolify with your GitLab instance. The redirect URI must match the Callback URL configured in GitLab.
Connect to GitLab @endif
@endif