Skip to content

Commit

Permalink
BitbucketServer: fix image links in oauth1 cloud docs
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Jan 31, 2024
1 parent 67c7990 commit 2371fc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/cloud/bitbucket-server-integration-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
From the organization settings page, select the "Integrations" subtab.
Hit the "Add Integration" button on the integrations listing page to get to the form below.
To set up a Bitbucket Data Center / Server integration with Private Packagist start by selecting "Bitbucket Data Center / Server"
as the platform and OAuth 2 as OAuth version, and enter the URL of your on-premise Bitbucket Data Center / Server into the base URL field as seen in the example below.
as the platform, OAuth 2 as OAuth version, and enter the URL of your on-premise Bitbucket Data Center / Server into the base URL field as seen in the example below.

![Packagist Setup](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-01-packagist-setup.png)

Expand Down
14 changes: 7 additions & 7 deletions docs/cloud/bitbucket-server-oauth1-integration-setup.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Bitbucket Data Center / Server Integration Setup
# Bitbucket Data Center / Server Integration Setup (OAuth 1)
## Private Packagist Cloud

## Initial Setup

From the organization settings page, select the "Integrations" subtab.
Hit the "Add Integration" button on the integrations listing page to get to the form below.
To set up a Bitbucket Data Center / Server integration with Private Packagist start by selecting "Bitbucket Data Center / Server"
as the platform and OAuth 1 as OAuth version, and enter the URL of your on-premise Bitbucket Data Center / Server into the base URL field as seen in the example below.
as the platform, OAuth 1 as OAuth version, and enter the URL of your on-premise Bitbucket Data Center / Server into the base URL field as seen in the example below.

![Packagist Setup](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-oauth1-01-packagist-setup.png)

Expand All @@ -17,23 +17,23 @@ Submit the form to see the additional information.
## Configure Application link
Click on the link to setup an Application Link on Bitbucket Data Center / Server. You will need the "Client Id" and the "Public Key" shown in the form.

![Bitbucket Configure Application Link](/Resources/public/img/docs/integration-setup/bitbucket-server-03-bitbucket-configure-application-link.png)
![Bitbucket Configure Application Link](/Resources/public/img/docs/integration-setup/bitbucket-server-oauth1-03-bitbucket-configure-application-link.png)

For Bitbucket Data Center versions 7.21 and newer, select "Atlassian product" and not "External application" to be able to set up an OAuth1 link.

After you hit the button to create a new Application Link a configuration window may appear. If it does, verify that the url matches your Private Packagist URL and hit "Continue", otherwise skip this step.

![Bitbucket Invalid Url](/Resources/public/img/docs/integration-setup/bitbucket-server-04-bitbucket-invalid-url.png)
![Bitbucket Invalid Url](/Resources/public/img/docs/integration-setup/bitbucket-server-oauth1-04-bitbucket-invalid-url.png)

Now setup a "Generic Application". The only field required is the "Application Name". Submit the form to finish creating the Application Link.

![Bitbucket Setup Link](/Resources/public/img/docs/integration-setup/bitbucket-server-05-bitbucket-setup-link.png)
![Bitbucket Setup Link](/Resources/public/img/docs/integration-setup/bitbucket-server-oauth1-05-bitbucket-setup-link.png)

![Bitbucket Application Created](/Resources/public/img/docs/integration-setup/bitbucket-server-06-bitbucket-application-created.png)
![Bitbucket Application Created](/Resources/public/img/docs/integration-setup/bitbucket-server-oauth1-06-bitbucket-application-created.png)

Click on the pen icon to the right of the application you just created to edit the Application Link and configure Incoming Authentication.

![Bitbucket Incoming Auth](/Resources/public/img/docs/integration-setup/bitbucket-server-07-bitbucket-incoming-auth.png)
![Bitbucket Incoming Auth](/Resources/public/img/docs/integration-setup/bitbucket-server-oauth1-07-bitbucket-incoming-auth.png)

This is where we will need the "Client ID" and the "Public Key" that were previously generated on the Private Packagist integration form. Make sure the entire content of the "Public Key" field gets copied and the "Consumer Callback" field stays empty. Submit the form and go back to Private Packagist.

Expand Down

0 comments on commit 2371fc4

Please sign in to comment.