Skip to content

Commit 429ee1d

Browse files
authored
more consistent example urls
1 parent b3f4a7a commit 429ee1d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/admin/external-auth.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ CODER_EXTERNAL_AUTH_0_TYPE=gitlab
179179
# This value is the "Application ID"
180180
CODER_EXTERNAL_AUTH_0_CLIENT_ID=xxxxxx
181181
CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx
182-
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://gitlab.example.org/oauth/token/info"
183-
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitlab.example.org/oauth/authorize"
184-
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://gitlab.example.org/oauth/token"
185-
CODER_EXTERNAL_AUTH_0_REGEX=gitlab\.example\.org
182+
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://gitlab.example.com/oauth/token/info"
183+
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitlab.example.com/oauth/authorize"
184+
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://gitlab.example.com/oauth/token"
185+
CODER_EXTERNAL_AUTH_0_REGEX=gitlab\.example\.com
186186
```
187187

188188
When [configuring your GitLab OAuth application](https://docs.gitlab.com/17.5/integration/oauth_provider/),
@@ -201,8 +201,8 @@ provider deployments.
201201
```env
202202
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://github.example.com/oauth/authorize"
203203
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://github.example.com/oauth/token"
204-
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://your-domain.com/oauth/token/info"
205-
CODER_EXTERNAL_AUTH_0_REGEX=github\.company\.org
204+
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://example.com/oauth/token/info"
205+
CODER_EXTERNAL_AUTH_0_REGEX=github\.company\.com
206206
```
207207

208208
> [!NOTE]

0 commit comments

Comments
 (0)