Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Connect your users to Bitbucket for repository management, pull requests, and CI/CD pipelines.
PropertyValue
Provider IDbitbucket
CategoryDeveloper Tools
PKCENot supported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Step 1: Create a Bitbucket OAuth Consumer

1

Go to Bitbucket workspace settings

Navigate to your Bitbucket workspace settings, then go to OAuth consumers.
2

Add a consumer

Click Add consumer. Enter your application name.
3

Add the callback URL

Add the Redirect URI from the Developer Portal to the Callback URL field.
4

Select permissions

Select the required permissions for your application.
5

Get your credentials

Copy the Key (Client ID) and Secret.
Never share your Client Secret publicly. Store it securely and only enter it in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Bitbucket provider

Go to OAuth Providers > Add Provider > Bitbucket.
3

Enter credentials

  • Client ID: Paste your Bitbucket Key
  • Client Secret: Paste your Bitbucket Secret
4

Select scopes

Choose the scopes your app needs.
5

Save

Click Save. The provider is now active.

Available Scopes

ScopeDescription
accountRead your account information
repositoryRead access to your repositories
repository:writeWrite access to your repositories
pullrequestRead and write access to pull requests
issueRead and write access to issues
webhookRead and write access to webhooks
pipelineRead access to Bitbucket Pipelines CI/CD
pipeline:writeRead and write access to Bitbucket Pipelines
snippetRead and write access to snippets

Notes