Enable the Bitbucket login option for your Auth0 applications
Provide Bitbucket as a login option for your users to authenticate to your app or your platform.
With millions of private, and public repositories hosted on Bitbucket, over 10M developers have verified Bitbucket account credentials already. Bitbucket is more than just Git code management, it gives teams one place to plan projects, collaborate on code, test, and deploy. Bitbucket is growing fast with free unlimited private repositories for small teams and an easy price model for larger teams. Trusted by more than 1M organizations already such as Ford, PayPal, and wework, Bitbucket quickly gives you login access to many of the world's developers in a single integration.
With lots of users already having Bitbucket accounts, you can improve conversion by minimizing the number of steps for users to sign up and login to your app
Take advantage of Bitbucket's extremely high security and trust Bitbucket as a source to safeguard user credentials so that you don't have to.
Bitbucket already applies thorough safeguards to user profiles. Rest assured that your application receives accurate and verified profile information.
The Bitbucket social connection allows users to log in to your application using their Bitbucket profile.
By default, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0. Optionally, you can disable user profile data synchronization to allow for updating profile attributes from your application.
Before you begin, sign up for a Bitbucket account.
Set up app in Bitbucket
Set up an app using Atlassian's OAuth on Bitbucket Cloud: Create a consumer documentation. During this process, Bitbucket will generate a Key and Secret for your application; make note of these.
While setting up your app, use the following settings:
|Field||Value to Provide|
|Permissions||Select the permissions you want to enable for this connection. At minimum, you need |
Find your Auth0 domain name
If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus
.auth0.com. For example, if your tenant name were
exampleco-enterprises, your Auth0 domain name would be
exampleco-enterprises.us.auth0.com and your callback URL would be
https://exampleco-enterprises.us.auth0.com/login/callback. (If your tenant is in the US and was created before June 2020, then your domain name would be
If you are using custom domains, your redirect URI will have the following format:
https://<YOUR CUSTOM DOMAIN>/login/callback.
You're ready to test your connection.