Skip to content

Commit db92023

Browse files
authored
Update Bitbucket Server OAuth docs inconsistency (#1053)
Updates a section in the docs we missed when we added OAuth for Bitbucket Server. ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent 6123ded commit db92023

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

docs/admin/config/authorization_and_authentication.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,7 @@ And configure the identity provider to pass the email address as the `nameID`.
112112

113113
### Bitbucket Server / Bitbucket Data Center authorization
114114

115-
We do not currently support OAuth for Bitbucket Server or Bitbucket Data Center. You will need to combine permissions syncing from Bitbucket Server / Bitbucket Data Center with another authentication mechanism (SAML, built-in auth, HTTP authentication proxies). Bitbucket Server and Bitbucket Data Center only pass usernames to Sourcegraph, so you’ll need to make sure that those usernames are matched by whatever mechanism you choose to use for access.
116-
117-
Follow the steps to [sync Bitbucket Server / Bitbucket Data Center permissions](/admin/code_hosts/bitbucket_server#repository-permissions). Then, do one of the following:
118-
119-
1. Create the user accounts in Sourcegraph with matching usernames. (Access using `builtin` auth.)
120-
2. [Configure SAML authentication](/admin/auth/saml/). If you are using Bitbucket Server / Bitbucket Data Center, the `login` attribute is _not_ optional. You need to pass the Bitbucket Server username as the `login` attribute.
121-
3. [Configure an HTTP authentication proxy](/admin/auth/#http-authentication-proxies), passing the Bitbucket Server username value as the `usernameHeader`.
115+
We support authentication through OAuth for Bitbucket Server / Bitbucket Data Center. See the [Bitbucket Server auth provider docs](/admin/auth/#bitbucket-server).
122116

123117
### Azure DevOps Services
124118

public/llms.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105600,13 +105600,7 @@ And configure the identity provider to pass the email address as the `nameID`.
105600105600

105601105601
### Bitbucket Server / Bitbucket Data Center authorization
105602105602

105603-
We do not currently support OAuth for Bitbucket Server or Bitbucket Data Center. You will need to combine permissions syncing from Bitbucket Server / Bitbucket Data Center with another authentication mechanism (SAML, built-in auth, HTTP authentication proxies). Bitbucket Server and Bitbucket Data Center only pass usernames to Sourcegraph, so you’ll need to make sure that those usernames are matched by whatever mechanism you choose to use for access.
105604-
105605-
Follow the steps to [sync Bitbucket Server / Bitbucket Data Center permissions](/admin/code_hosts/bitbucket_server#repository-permissions). Then, do one of the following:
105606-
105607-
1. Create the user accounts in Sourcegraph with matching usernames. (Access using `builtin` auth.)
105608-
2. [Configure SAML authentication](/admin/auth/saml/). If you are using Bitbucket Server / Bitbucket Data Center, the `login` attribute is _not_ optional. You need to pass the Bitbucket Server username as the `login` attribute.
105609-
3. [Configure an HTTP authentication proxy](/admin/auth/#http-authentication-proxies), passing the Bitbucket Server username value as the `usernameHeader`.
105603+
We support authentication through OAuth for Bitbucket Server / Bitbucket Data Center. See the [Bitbucket Server auth provider docs](/admin/auth/#bitbucket-server).
105610105604

105611105605
### Azure DevOps Services
105612105606

0 commit comments

Comments
 (0)