Jump to content

GitLab/Workflows/Registering an account on GitLab

From mediawiki.org

Accounts on gitlab.wikimedia.org are connected to Wikimedia developer accounts. If you do not yet have a developer account, see Help:Create a Wikimedia developer account for instructions on how to create one.

Once you have a developer account, visit gitlab.wikimedia.org and click "Sign In" in the upper-righthand corner of the window. You will be redirected to our idp.wikimedia.org single sign-on server to enter your developer account credentials. Once you have authenticated to idp.wikimedia.org you will be redirected back to our GitLab server.

In order to prevent spam and other abuse, newly registered GitLab accounts must be approved before they can use the service. The GitLab Account Approval Bot will approve your account if it can find that your developer account is already trusted in Gerrit, Phabricator, or Toolforge. You can file an account activation request in Phabricator if your developer account is not already trusted.

Add an SSH key

[edit]

Visit the SSH settings in your profile and add a public key. See the GitLab documentation for more details on this process.

GitLab also supports HTTPS remotes, so an SSH key isn't necessary. However, this documentation assumes you are performing git operations using SSH.

Add two-factor authentication

[edit]

You may be required to use two-factor authentication to access most projects on GitLab.

Click on your user icon, then "Edit profile" or "Preferences", followed by "Account", and the "Manage two-factor authentication" button. From here you can set up an authenticator app, or use a hardware device (such as a YubiKey) as your second factor.

See the upstream GitLab docs on two-factor authentication for more details.