Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Integrate with Platform.sh

Logan Irish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2023

My team is trying to access the codebase which requires an integration with Platform.sh. We moved the codebase into a new workspace for our new agency to take over but there seems to be an error every time they implement the oAuth credentials into Platform.sh.

This screenshot is from Platform.sh integration screen:

2023-04-24 18_30_51-Settings _ Master _ Recorded Future - App _ Platform.sh.jpg

 

Any assistance on this would be appreciated, and much more helpful if we could speak to a tech support individual personally.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2023

Hello @Logan Irish ,

Welcome to the Community!

From the screenshot you have shared, it seems like Platform.sh expects you to provide the secret and key from an OAuth consumer created on your Bitbucket Workspace.

You can create an OAuth consumer by following the below instructions : 

1. Access the workspace where you have your repositories (select your avatar in the top right > All workspaces > open the desired workspace)

2. Click on the gear icon in the top right and select Workspace Settings

3. On the sidebar, under Apps and features, select OAuth consumers.

4. Click the Add consumer button.  

You will need to provide the following information:

Name: The display name for your consumer. This must be unique within your account. This is required.
Description: An optional description of what your consumer does.
Callback URL: Required for OAuth 2.0 consumers, this is the URL users will be redirected after the authorization. If you don't have any you can use https://localhost.comURL: An optional URL where users can learn more about your application.

5. Select the permissions for this Oauth consumer. This very depends on the application you are integrating. If the application will just use the OAuth credentials to clone the repository, then repository:read should be sufficient. If you are not sure what scopes Plataform.sh needs, you can try creating the Oauth consumer with all the permissions checked and later edit the Oauth consumer with narrower scopes.

6. Click Save. The system generates a key and a secret for you.

7. Toggle the consumer name to see the generated Key and Secret value for your consumer. 

8. Provide the value of the key and secret in the Plataform.sh configuration, on the fields App credential key and App credentials secret, respectively.

You can try following the instruction above and let us know how it goes. Also, if you are interested in learning more about OAuth in Bitbucket cloud, I would recommend also checking our Use Oauth on Bitbucket Cloud documentation.

Thank you, @Logan Irish !
Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events