How to Add Bitbucket Social Login with Magic

How to Add Bitbucket Social Login with Magic

Supported Platforms

Web   React Native   iOS   Android

You can allow your users to sign up & log in to your web app with their Bitbucket account.

👉 Play with a demo


Bitbucket Setup

After installing the OAuth extension, you can now enable Bitbucket Login for your Magic app:

  1. Go to your Magic Dashboard

  2. Select the Magic app for which you’d like to enable bitbucket Login, or create a new app

  3. Navigate to Social Login from the sidebar

  4. Click the toggle for Bitbucket

  5. Copy the Redirect URI field from your Magic Dashboard

  6. Go to Bitbucket App Dashboard. From your profile avatar in the bottom left, click on the workspace in the Recent workspaces list or click All workspaces to open an entire list from which to choose.

Click All workspaces

  1. Click Settings on the left sidebar, then click OAuth consumers, then click Add consumer button.

Add consumer

  1. Add the Redirect URI you obtained from your Magic Dashboard into the Callback URL and click Save

Add redirect URI

  1. Please make sure at least to grant Read permission in the account section. Otherwise, authentication will not complete


  1. Obtain the "Key" and "Secret"

Bitbucket OAuth showing key and secret fields

  1. Return to your Magic Dashboard and input the Key and Secret for your bitbucket OAuth app

  2. In Magic Dashboard, click “Save” – Done! 🎉

How to Add Bitbucket Social Login with Magic