BitBucket Social Login
Supported Platforms
You can allow your users to sign up & log in to your web app with their Bitbucket account.
๐ Play with a demo
Prerequisites
- You will need a Bitbucket account
- You will need to have the Magic SDK installed into your web app
- You will need to have the Magic SDK - OAuth Extension installed into your web app
Bitbucket Setup
After installing the OAuth extension, you can now enable Bitbucket Login for your Magic app:
Go to your Magic Dashboard
Select the Magic app for which youโd like to enable bitbucket Login, or create a new app
Navigate to Social Login from the sidebar
Click the toggle for Bitbucket
Copy the Redirect URI field from your Magic Dashboard
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 Settings on the left sidebar, then click OAuth consumers, then click Add consumer button.
- Add the Redirect URI you obtained from your Magic Dashboard into the Callback URL and click Save
- Please make sure at least to grant Read permission in the account section. Otherwise, authentication will not complete
- Obtain the "Key" and "Secret"
Return to your Magic Dashboard and input the Key and Secret for your bitbucket OAuth app
In Magic Dashboard, click โSaveโ โ Done! ๐