This guide explains how to set up Bitbucket as an authentication provider with Stack Auth. Bitbucket OAuth allows users to sign in to your application using their Bitbucket account.Documentation Index
Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Integration Steps
Create a Bitbucket OAuth App
- Log in to your Bitbucket Workspaces account.
- Under Workspaces, find your workspace and select Manage.
- In the left sidebar, scroll down and select OAuth consumers.
- Click Add consumer.
- Fill out the form with the following details:
- Name: Choose a name for your application
- Description: Add a brief description of your application
- Callback URL: Enter
https://api.stack-auth.com/api/v1/auth/oauth/callback/bitbucket - Permissions: Under Account, select at minimum Email and Read
- Click Save.
- You’ll be redirected to the OAuth consumers page. Select your newly created consumer to view its details.
- Note the Key (Client ID) and Secret values. Save these somewhere secure as you’ll need them for the next steps.
Need More Help?
- Check the Bitbucket OAuth documentation
- Join our Discord