Importing from GitLab.com
Prerequisites
- A GitLab.com account with access to the repositories you want to import
- A GitLab OAuth Application registered in your GitLab account settings
Step 1 — Register a GitLab OAuth Application
- Go to GitLab.com → User Settings → Applications
-
Fill in:
- Name: GitBlixt
-
Redirect URI:
https://git.yourdomain.com/oauth/gitlab/callback -
Scopes:
check
read_user,read_api,read_repository - Leave Confidential checked
- Click Save application
- Copy the Application ID and Secret
-
Set these on your GitBlixt instance:
Then restart the container.GITLAB_CLIENT_ID=your-application-id GITLAB_CLIENT_SECRET=your-secret
Step 2 — Connect Your GitLab Account
- Go to your GitBlixt Dashboard and click Import Repository
- Select GitLab.com
- Click Connect GitLab — you'll be redirected to GitLab to authorize
- After authorizing, you'll return to GitBlixt with your projects listed
Step 3 — Select and Import
- Browse or search your projects
- Select the ones you want to import
- Click Import Selected and watch the progress
Scopes Requested
| Scope | Reason |
|---|---|
read_user |
Read your profile and username |
read_api |
List your projects, issues, merge requests, and comments |
read_repository |
Clone repository contents |
GitBlixt requests read-only scopes and never modifies your GitLab projects.
Token Expiry Note
GitLab OAuth tokens expire after 2 hours. GitBlixt automatically refreshes your token in the background. If your import session lasts longer than 2 hours, reconnect via Settings → Connected Accounts if you see an authentication error.