Skip to content

Commit 2785bb9

Browse files
committed
cleanup
1 parent 4e5db9a commit 2785bb9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/admin/git-providers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx
3636
GitHub Enterprise requires the following authentication and token URLs:
3737

3838
```console
39-
CODER_GITAUTH_0_VALIDATE_URL="http://github.example.com/login/oauth/access_token/info"
40-
CODER_GITAUTH_0_AUTH_URL="http://github.example.com/login/oauth/authorize"
41-
CODER_GITAUTH_0_TOKEN_URL="http://github.example.com/login/oauth/access_token"
39+
CODER_GITAUTH_0_VALIDATE_URL="https://github.example.com/login/oauth/access_token/info"
40+
CODER_GITAUTH_0_AUTH_URL="https://github.example.com/login/oauth/authorize"
41+
CODER_GITAUTH_0_TOKEN_URL="https://github.example.com/login/oauth/access_token"
4242
```
4343

4444
### Self-managed git providers
@@ -82,7 +82,7 @@ CODER_GITAUTH_1_CLIENT_SECRET=xxxxxxx
8282
CODER_GITAUTH_1_REGEX=github.example.com
8383
CODER_GITAUTH_1_AUTH_URL="https://github.example.com/login/oauth/authorize"
8484
CODER_GITAUTH_1_TOKEN_URL="https://github.example.com/login/oauth/access_token"
85-
CODER_GITAUTH_0_VALIDATE_URL="http://github.example.com/login/oauth/access_token/info"
85+
CODER_GITAUTH_1_VALIDATE_URL="https://github.example.com/login/oauth/access_token/info"
8686
```
8787

8888
To support regex matching for paths (e.g. github.com/orgname), you'll need to add this to the [Coder agent startup script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script):

0 commit comments

Comments
 (0)