Skip to content

Commit 6ba6b94

Browse files
committed
more consistent example urls
1 parent da3c83c commit 6ba6b94

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
@@ -228,10 +228,10 @@ CODER_EXTERNAL_AUTH_0_TYPE=gitlab
228228
# This value is the "Application ID"
229229
CODER_EXTERNAL_AUTH_0_CLIENT_ID=xxxxxx
230230
CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx
231-
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://gitlab.example.org/oauth/token/info"
232-
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitlab.example.org/oauth/authorize"
233-
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://gitlab.example.org/oauth/token"
234-
CODER_EXTERNAL_AUTH_0_REGEX=gitlab\.example\.org
231+
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://gitlab.example.com/oauth/token/info"
232+
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitlab.example.com/oauth/authorize"
233+
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://gitlab.example.com/oauth/token"
234+
CODER_EXTERNAL_AUTH_0_REGEX=gitlab\.example\.com
235235
```
236236

237237
When [configuring your GitLab OAuth application](https://docs.gitlab.com/17.5/integration/oauth_provider/),
@@ -250,8 +250,8 @@ provider deployments.
250250
```env
251251
CODER_EXTERNAL_AUTH_0_AUTH_URL="https://github.example.com/oauth/authorize"
252252
CODER_EXTERNAL_AUTH_0_TOKEN_URL="https://github.example.com/oauth/token"
253-
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://your-domain.com/oauth/token/info"
254-
CODER_EXTERNAL_AUTH_0_REGEX=github\.company\.org
253+
CODER_EXTERNAL_AUTH_0_VALIDATE_URL="https://example.com/oauth/token/info"
254+
CODER_EXTERNAL_AUTH_0_REGEX=github\.company\.com
255255
```
256256

257257
> [!NOTE]

0 commit comments

Comments
 (0)