GitLab Integration Guide
This guide summarizes how to integrate GitLab OAuth with DTaaS in current package layouts.
Integration Paths
There are two primary integration paths:
- Integrated package:
deploy/dtaas/docker/secure-server_with_integrated-gitlab - Services CLI path:
deploy/services/cli+deploy/services/cli/GITLAB_INTEGRATION.md
A. Integrated Package (secure-server_with_integrated-gitlab)
- Start DTaaS + GitLab:
-
Wait until GitLab is healthy.
-
Create users in GitLab matching
USERNAME1/USERNAME2. -
Create OAuth applications in GitLab:
-
DTaaS Client Authorization
-
DTaaS Server Authorization
-
Update:
-
config/client.js -
config/.env -
Reload services:
B. Services CLI GitLab Integration
Use the services project and follow the authoritative guide:
deploy/services/cli/GITLAB_INTEGRATION.md
Typical flow:
- Generate services project:
dtaas-services generate-project - Configure
config/services.env - Install GitLab:
dtaas-services install -s gitlab - Apply OAuth values to DTaaS package config
- Restart DTaaS
clientandtraefik-forward-auth
Post-Setup Checks
https://<host>/gitlabis reachable (integrated package)- DTaaS login redirects to expected OAuth provider
- Workspace routes (
/user1,/user2) are protected