GitLab Integration#
Connect your GitLab instance or GitLab.com organization to Idsync.
Prerequisites#
- GitLab group owner or maintainer access
- Idsync account with appropriate permissions
- GitLab Premium or Ultimate (for some features)
Integration Methods#
GitLab can be integrated in two ways:
Option A: OAuth Application (Recommended)#
Best for GitLab.com and self-hosted GitLab instances.
Option B: Personal Access Token#
Quick setup for testing, not recommended for production.
OAuth Application Setup#
Step 1: Create OAuth Application#
- Go to your GitLab group settings
- Navigate to Settings ā Applications
- Create a new application with these settings:
yamlName: Idsync Backup Redirect URI: https://app.idsync.io/auth/gitlab/callback Confidential: Yes Scopes: - read_api - read_user
Step 2: Configure in Idsync#
- Open Idsync dashboard
- Go to Integrations ā Add Integration
- Select GitLab
- Choose OAuth Application
- Enter your credentials:
- Application ID
- Application Secret
- GitLab URL (for self-hosted)
Personal Access Token Setup#
ā ļø Note: This method is only recommended for testing purposes.
Step 1: Generate Token#
- Go to GitLab ā User Settings ā Access Tokens
- Create a token with these scopes:
read_apiread_user
Step 2: Add to Idsync#
- In Idsync, select Personal Access Token method
- Paste your token
- Click Connect
Verify Connection#
Once connected, you should see:
ā Connected to GitLab: gitlab.com/your-group
ā API access verified
ā User permissions confirmed
Self-Hosted GitLab#
For self-hosted GitLab instances, additional configuration may be required:
Network Configuration#
Ensure your GitLab instance is accessible from Idsync:
- Whitelist Idsync IP ranges
- Configure SSL certificates
- Set up reverse proxy if needed
Version Requirements#
| GitLab Version | Support Status |
|---|---|
| 15.0+ | ā Full support |
| 14.x | ā Supported |
| 13.x | ā ļø Limited |
| < 13.0 | ā Not supported |
Troubleshooting#
Invalid Scope Error#
Ensure all required scopes are selected when creating your OAuth application.
SSL Certificate Error#
For self-hosted instances, verify:
- Certificate is valid and not expired
- Full certificate chain is installed
- No mixed content issues
Next Steps#
- Continue to storage configuration
- Review GitHub integration if needed