GitLab:OAuth2
lastmod 2026-11-10created 2015-12-113 edits
GitLab supports OAuth2 in two directions. In one, GitLab itself acts as an OAuth2 authentication provider so that external applications can sign in with a GitLab account and call the API; in the other, GitLab acts as a client so that users can sign in to GitLab with accounts from external providers such as Google and GitHub. For the former, you register an application in the settings and are issued a client ID and secret to use.