Skip to content

Commit e747aad

Browse files
marleypowellbpmctmatifali
authored
docs: added additional documentation for azure devops git provider (#6923)
Co-authored-by: Ben Potter <me@bpmct.net> Co-authored-by: Atif Ali <matifali@live.com>
1 parent 59efa4a commit e747aad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/admin/git-providers.md

+14
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ CODER_GITAUTH_0_AUTH_URL="https://github.example.com/login/oauth/authorize"
4141
CODER_GITAUTH_0_TOKEN_URL="https://github.example.com/login/oauth/access_token"
4242
```
4343

44+
### Azure DevOps
45+
46+
Azure DevOps requires the following environment variables:
47+
48+
```console
49+
CODER_GITAUTH_0_ID="primary-azure-devops"
50+
CODER_GITAUTH_0_TYPE=azure-devops
51+
CODER_GITAUTH_0_CLIENT_ID=xxxxxx
52+
# Ensure this value is your "Client Secret", not "App Secret"
53+
CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx
54+
CODER_GITAUTH_0_AUTH_URL="https://app.vssps.visualstudio.com/oauth2/authorize"
55+
CODER_GITAUTH_0_TOKEN_URL="https://app.vssps.visualstudio.com/oauth2/token"
56+
```
57+
4458
### Self-managed git providers
4559

4660
Custom authentication and token URLs should be

0 commit comments

Comments
 (0)