Sign in to GitLab with an access token
For gitlab.com and self-hosted GitLab. Browser sign-in is not set up in this build, so a token is the way in.
On this page
Steps
- 1On GitLab, open Preferences, Access tokens.
- 2Create a token with the scopes
apiandread_userand an expiry date. - 3In Repotray open Accounts, Add account, GitLab.
- 4On Server address, enter
gitlab.com, or for a self-hosted server its address, for examplehttps:. When the FOUND card appears, tap Continue.//gitlab.example.com - 5On "This forge has not added Repotray yet", tap Use a personal access token.
- 6Paste the token and tap Check token. It is stored in the phone's secure storage.
The token page
This address opens the GitLab token page with the name and scopes filled in:
Token page address
https://gitlab.com/-/user_settings/personal_access_tokens?name=Repotray&scopes=api,read_userScopes
| Scope | What it is used for |
|---|---|
api | Read and act on projects, reviews, runs and deployments |
read_user | Show the account's name and picture |
Expiry
GitLab tokens must have an expiry date. Repotray says when the token is about to expire.

