Skip to content
  • Auth and access
  • Social sign in

Bitbucket social sign in

You can enable users to sign up and sign in using their Bitbucket credentials. To enable this, you’ll need a Bitbucket app and some developer know-how.

Get your Kinde callback URL

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. In the Social connections section, select Add connection.
  3. In the window that appears, select Bitbucket, then select Save. Bitbucket now appears in the Social connections list.
  4. On the Bitbucket tile, select Configure.
  5. In the Callback URL section:
    1. If you use Kinde’s domain as your default, copy the Kinde domain URL.
    2. If you use a custom domain (and want to use it as the callback) select the Use custom domain instead switch and copy the Custom domain URL.
  6. Use the copied Callback URL to set up the app, see below.

Create and configure a Bitbucket app

Link to this section
  1. Create an account on https://bitbucket.org/.
  2. Go to Workspaces if you are not automatically directed.
  3. Create a workspace.
  4. Enter a Name and ID.
  5. Open Settings > Apps and features > oauth consumers.
  6. Add a consumer.
  7. Enter a name and add the callback URL copied from your Kinde app.
  8. Under Permissions, in the Account section, select email and read.
  9. Select Save.
  10. Go back to Apps and features > oauth consumers.
  11. Select the workspace you’ve just created and copy the key (client id) and secret (client secret) to paste into the kinde app.

Add Bitbucket credentials to Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. On the Bitbucket tile, select Configure.
  3. Paste the Client ID (key) and Client secret (secret) into the relevant fields.
  4. Select which applications will allow Bitbucket social sign in.
  5. Select Save.

Users will now see Bitbucket as an option to sign up and sign in to the selected applications.