Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7949db8

Browse files
authored
docs: add GHE token & auth URLs (#6751)
* docs: add GHE token & auth URLs* cleanup
1 parenteaacc26 commit7949db8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

‎docs/admin/git-providers.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ CODER_GITAUTH_0_CLIENT_ID=xxxxxx
3131
CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx
3232
```
3333

34+
###GitHub Enterprise
35+
36+
GitHub Enterprise requires the following authentication and token URLs:
37+
38+
```console
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"
42+
```
43+
3444
###Self-managed git providers
3545

3646
Custom authentication and token URLs should be
@@ -70,8 +80,9 @@ CODER_GITAUTH_1_TYPE=github
7080
CODER_GITAUTH_1_CLIENT_ID=xxxxxx
7181
CODER_GITAUTH_1_CLIENT_SECRET=xxxxxxx
7282
CODER_GITAUTH_1_REGEX=github.example.com
73-
CODER_GITAUTH_1_AUTH_URL="https://github.example.com/oauth/authorize"
74-
CODER_GITAUTH_1_TOKEN_URL="https://github.example.com/oauth/token"
83+
CODER_GITAUTH_1_AUTH_URL="https://github.example.com/login/oauth/authorize"
84+
CODER_GITAUTH_1_TOKEN_URL="https://github.example.com/login/oauth/access_token"
85+
CODER_GITAUTH_1_VALIDATE_URL="https://github.example.com/login/oauth/access_token/info"
7586
```
7687

7788
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)

[8]ページ先頭

©2009-2025 Movatter.jp