File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,22 @@ CODER_EXTERNAL_AUTH_0_AUTH_URL="https://app.vssps.visualstudio.com/oauth2/author
108
108
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://app.vssps.visualstudio.com/oauth2/token"
109
109
```
110
110
111
+ ### GitLab self-managed
112
+
113
+ GitLab self-managed requires the following environment variables:
114
+
115
+ ``` env
116
+ CODER_EXTERNAL_AUTH_0_ID="primary-gitlab"
117
+ CODER_EXTERNAL_AUTH_0_TYPE=gitlab
118
+ # This value is the "Application ID"
119
+ CODER_EXTERNAL_AUTH_0_CLIENT_ID=xxxxxx
120
+ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx
121
+ CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://gitlab.company.org/oauth/token/info"
122
+ CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitlab.company.org/oauth/authorize"
123
+ CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://gitlab.company.org/oauth/token"
124
+ CODER_EXTERNAL_AUTH_0_REGEX=gitlab\.company\.org
125
+ ```
126
+
111
127
### Self-managed git providers
112
128
113
129
Custom authentication and token URLs should be used for self-managed Git
You can’t perform that action at this time.
0 commit comments