Create Bitbucket Account
- Create a new Bitbucket account by clicking on Sign in on the top left if you don’t have one already.
Create Bitbucket OAuth App
- Go to Atlassian admin page and log in if you haven’t already.
- Select the “Products” tab on the top navigation bar.
- Select the “Add product” button.
- Select “Bitbucket” from the list of products.
- Name your workspace - (Note: Workspace ID is auto-created based on your workspace name.)
- Select the “Agree and add” button to create your workspace in Atlassian Administration after reviewing the Atlassian Cloud Terms of Service and Privacy Policy.
Bitbucket OAuth App Information
- Name: Enter your application name.
- Callback URL: Use your OAuth Callback URL from Nhost.
- URL: Enter your homepage URL (your app or company homepage).
-
Under Permissions, select the scopes (
Account - Email, Read). - Click Save.
Configure Nhost
- Go to your Nhost project dashboard.
- Navigate to Authentication > Providers.
- Enable the Bitbucket provider.
- Paste the Client ID and Client Secret from Bitbucket into the respective fields.
- Check the box: “I have pasted the redirect URI into Bitbucket”.
- Click Confirm settings.