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.
- In Kinde, go to Settings > Authentication.
- In the Social connections section, select Add connection.
- In the window that appears, select Bitbucket, then select Save. Bitbucket now appears in the Social connections list.
- On the Bitbucket tile, select Configure.
- In the Callback URL section:
- If you use Kinde’s domain as your default, copy the Kinde domain URL.
- 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.
- Use the copied Callback URL to set up the app, see below.
- Create an account on https://bitbucket.org/.
- Go to Workspaces if you are not automatically directed.
- Create a workspace.
- Enter a Name and ID.
- Open Settings > Apps and features > oauth consumers.
- Add a consumer.
- Enter a name and add the callback URL copied from your Kinde app.
- Under Permissions, in the Account section, select email and read.
- Select Save.
- Go back to Apps and features > oauth consumers.
- Select the workspace you’ve just created and copy the key (client id) and secret (client secret) to paste into the kinde app.
- In Kinde, go to Settings > Authentication.
- On the Bitbucket tile, select Configure.
- Paste the Client ID (key) and Client secret (secret) into the relevant fields.
- Select which applications will allow Bitbucket social sign in.
- Select Save.
Users will now see Bitbucket as an option to sign up and sign in to the selected applications.
Authentication and access