Skip to content

Commit 088dcea

Browse files
authored
Add sample config for Bitbucket Cloud
1 parent 9ac44aa commit 088dcea

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/admin/external-auth.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,19 @@ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxx
9494
CODER_EXTERNAL_AUTH_0_AUTH_URL=https://bitbucket.domain.com/rest/oauth2/latest/authorize
9595
```
9696

97+
### Bitbucket Cloud
98+
99+
Bitbucket Server requires the following environment variables:
100+
101+
```env
102+
CODER_EXTERNAL_AUTH_0_TYPE="bitbucket-cloud"
103+
CODER_EXTERNAL_AUTH_0_ID=bitbucket
104+
CODER_EXTERNAL_AUTH_0_CLIENT_ID=xxx
105+
CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxx
106+
CODER_EXTERNAL_AUTH_0_AUTH_URL=https://bitbucket.domain.com/site/oauth2/authorize
107+
CODER_EXTERNAL_AUTH_0_TOKEN_URL=https://bitbucket.domain.com/site/oauth2/access_token
108+
```
109+
97110
### Azure DevOps
98111

99112
Azure DevOps requires the following environment variables:

0 commit comments

Comments
 (0)