Bitbucket
Access Bitbucket repositories, pull requests, and account data via OAuth.
Auth Model
User OAuth
Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.
Connection Flow
// Get a valid credential — always fresh, zero latency const { credential } = await authpipe.getCredential({ provider: 'bitbucket', tenantId: 'org_acme', userId: 'user_123', });
// Use the credential with the provider API const response = await fetch('https://api.example.com/data', { headers: { Authorization: `Bearer ${credential}` }, });
// Drop-in React component <ConnectButton provider="bitbucket" onSuccess={(conn) => console.log('Connected!', conn)} />
Available Scopes
Permissions you can request when connecting to Bitbucket.
repository Read access to repositories
repository:write Read and write access to repositories
pullrequest Read access to pull requests
pullrequest:write Read and write access to pull requests
account Read access to account information
What Authpipe handles for Bitbucket
OAuth Orchestration
PKCE, state validation, callback handling, and provider-specific quirks — all automatic.
Encrypted Vault
AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.
Silent Refresh
Proactive token refresh before expiry. SDK returns from local cache with zero latency.
Health Monitoring
Scheduled checks detect revoked tokens and expired credentials before users notice.
More Developer Tools providers
Algolia
Search and manage indices through Algolia using Application ID and API key authentication.
Azure DevOps
Access Azure DevOps repositories, pipelines, work items, and builds via Microsoft identity platform OAuth.
Buildkite
Manage CI/CD pipelines and builds through Buildkite using API key authentication.
CircleCI
Manage CI/CD pipelines and builds with CircleCI using personal API token authentication.
Ready to connect Bitbucket?
Get your first 100 connections free. Set up in minutes with our SDK.