Skip to content

Connect GitLab

GitLab uses authorization-code OAuth for organization-scoped Git connection management. Self-managed GitLab hosts require approved environment configuration before users can connect.

Typical time
10–15 minutes
You need
ScrinCloud admin and GitLab authorization
Outcome
A connected GitLab owner

Open Git Integration and choose Connect GitLab. ScrinCloud creates a short-lived connection state and opens the configured HTTPS GitLab authorization page.

GitLab 1 of 4 · Screenshot placeholder

Start the GitLab connection

Show the GitLab provider card with Connect GitLab.

Future capture briefUse a documentation environment. Do not show a real GitLab host, group, user, repository, email, or application identifier.

Sign in to the approved GitLab host, review the requested OAuth access, and approve ScrinCloud. Use the organization-owned group or namespace intended for governed Terraform work.

ScrinCloud does not ask for your GitLab password. Never share the OAuth code, state value, callback URL, or access token.

GitLab 2 of 4 · Screenshot placeholder

Authorize the approved GitLab account

Show a staged GitLab consent summary with synthetic group and project labels.

Future capture briefHide host-specific data, users, groups, projects, repository names, OAuth codes, state values, callbacks, and tokens.

After GitLab returns to ScrinCloud:

  1. confirm the GitLab success notice;
  2. find the expected owner in Connected Accounts;
  3. verify the owner type and Connected status; and
  4. choose Refresh access.

GitLab 3 of 4 · Screenshot placeholder

Verify the connected GitLab owner

Show one synthetic GitLab owner with Connected status and Refresh access.

Future capture briefReplace owner, avatar, namespace, group, project, repository, and connection identifiers.

Set Default provider to GitLab only if new workspace repository setup should prefer it. Keep Require approval before apply enabled where required by policy.

GitLab connection management supports refresh, reconnect, and disconnect. The current Create repository and Set as default owner table actions are GitHub-only; do not expect those actions on a GitLab row.

GitLab 4 of 4 · Screenshot placeholder

Review GitLab connection settings

Show Default provider set to GitLab and governance toggles without implying a repository was created.

Future capture briefDo not show live workspace, repository, owner, provider token, project, or automation data.

The GitLab card and account row should show Connected, refresh should complete successfully, and the expected namespace should remain within the approved organization boundary.

An operator must configure the approved OAuth application and callback for this environment. Self-managed hosts require explicit approved configuration.

Start the connection again. Do not reuse an OAuth code or state value; they are short-lived and bound to one connection attempt.

The current Git Integration page does not offer GitLab repository creation or default-owner actions. Use the approved provider-side or workspace workflow available to your organization.