Skip to content

Bitbucket Social Connection

This guide outlines the steps to configure Bitbucket as a social login provider in AuthAction for a production environment.

Step 1: Create a Bitbucket OAuth Application

Section titled “Step 1: Create a Bitbucket OAuth Application”
  1. Go to the Bitbucket Developer Portal.
  2. Click Add Consumer.
  3. Fill in the required details:
    • Name: Your application name.
    • Callback URL: Set the redirect URI to:
      https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
    • Permissions: Choose the necessary permissions based on your requirements (e.g., account:read).
  4. Click Save.

Step 2: Retrieve Client ID and Client Secret

Section titled “Step 2: Retrieve Client ID and Client Secret”
  1. After saving, Bitbucket will provide you with a Key and Secret.
  2. Copy the Key (Client ID) and Secret (Client Secret) for use in the next steps.

Step 3: Configure Bitbucket Connection in AuthAction

Section titled “Step 3: Configure Bitbucket Connection in AuthAction”
  1. Log in to the AuthAction dashboard.
  2. Navigate to ConnectionsSocial Connections.
  3. Click Add Connection and select Bitbucket.
  4. Enter the Client ID and Client Secret obtained from Bitbucket.
  5. Click Save.

Step 4: Enable Bitbucket Connection for Applications

Section titled “Step 4: Enable Bitbucket Connection for Applications”
  1. In the AuthAction dashboard, navigate to Applications.
  2. Select the application for which you want to enable Bitbucket login.
  3. Go to the Connections tab and enable the Bitbucket connection.
  1. Open your application’s login page.
  2. Click on Sign in with Bitbucket.
  3. Authenticate using a Bitbucket account.
  4. Verify that the user is successfully redirected back to your application.

Your application is now configured to allow users to log in using Bitbucket in production.