You can use Bitbucket to manage your organization’s entire membership.
Register a Bitbucket application
You need to register a new application on Bitbucket.
You should provide a callback URL: [Domain/IP]/sso/bitbucket
Update your deployment config file
Use your client id and secret token to update your deployment config file.
externalServices:
auth:
bitbucket:
enabled: true
options: {client_id: "#####", client_secret: "#####"}