GitLab
gitlab Clone from gitlab.com or a self-managed GitLab with an OAuth application, an access or deploy token, or a deploy key, optionally limited to one group.
Setup
Choose how Pando signs in
Create an OAuth application
- In GitLab, select your avatar, then Edit profile → Access → Applications → Add new application. For a group, start from its Settings → Applications.
- Enter a Name. Set Redirect URI to your Pando address plus
/api/v1/sources/callback. - Clear Confidential. Under Scopes, select read_repository and read_api.
- Choose Save application and copy the Application ID and Secret.
Create a token
- Create one of these in GitLab:
Token Where Settings Fine-grained personal access token (GitLab 19.2 or later) Avatar → Edit profile → Access → Personal access tokens → Generate token → Fine-grained token Code: Download, Project: Read and Branch: Read; boundary User to list every project, or the group Personal access token Avatar → Edit profile → Access → Personal access tokens → Generate token → Legacy token Scopes read_repository, read_api Project access token Project → Settings → Access tokens → Add new token Role Reporter; scopes read_repository, read_api Group access token Group → Settings → Access tokens → Add new token Role Reporter; scopes read_repository, read_api Deploy token Project or group → Settings → Repository → Deploy tokens → Add token Scope read_repository - Copy the token, and for a deploy token its username.
- Create one of these in GitLab:
Add a deploy key
- Run
ssh-keygen -t ed25519 -f pando-deploy -N "". - In the project, open Settings → Repository, expand Deploy keys and choose Add new key.
- Paste
pando-deploy.pubinto Key and choose Add key. - Paste
pando-deploybelow.
- Run
Choose a group
Settings (13)
methodHow Pando signs inRequiredhostHostThe host repositories are on. Change it for a self-managed server.
scopeGroupSubgroups are included. Empty is every project the credential can read.
client_idOAuth client IDThe Application ID of a GitLab OAuth application with the read_repository and read_api scopes.
client_secretOAuth client secretCredentialNeeded for browser authorization. Device authorization works without one.
token_typeToken typeusernameUsernameThe username GitLab shows beside the deploy token.
tokenTokenCredentialAn access token with read_repository and read_api, or a deploy token with read_repository.
ssh_private_keySSH private keyCredentialThe private half of a deploy key or access key added to the repository. Pando reads the repository with it and never writes.
ssh_passphraseKey passphraseCredentialOnly if the key has one.
known_hostsKnown hostsThe host's public key, as ssh-keyscan <host> prints it. Leave empty for gitlab.com; Pando knows its key.
api_urlAPI addressAdvancedWhere the host's API is, if not where Pando would look for it.
ca_bundleCertificate authorityAdvancedPEM certificates to trust for a self-managed host on a private certificate authority, beside the system's.