GitLab

GitLab authentication can be used through Outline’s support for OIDC authentication providers. Self-hosting Outline only supports one team, so once you have authenticated with your GitLab organization additional teams will not be able to be created.

Configuration

Add the following environment variables to your installation, gitlab.example.com should be replaced with either the cloud hosted or self hosted installation url.

OIDC_AUTH_URI=https://gitlab.example.com/oauth/authorize
OIDC_TOKEN_URI=https://gitlab.example.com/oauth/token
OIDC_USERINFO_URI=https://gitlab.example.com/oauth/userinfo
OIDC_USERNAME_CLAIM=username
OIDC_DISPLAY_NAME=GitLab
OIDC_SCOPES=openid email

Security

Once signed into Outline you should make sure to add authorized domain names under SettingsSecurity to restrict access to your installation.