Bitbucket Authentication using OAuth (CodeScan)
Connecting AutoRABIT (Codescan) to Bitbucket Data Center requires a secure handshake based on the OAuth 2.0 Authorization Framework.
Applies To
- Bitbucket Data Center (self-managed) with Atlassian Application Links enabled. 
Generate Client ID and Client Secret
- Log in to your Bitbucket Data Center instance with an admin account. 
- Go to Main menu › Admin, then Administration › Applications › Application links. 
- Click Create link, choose External application, and set Direction to Incoming. 
- Name the link (e.g., Codescan Bitbucket OAuth) and enter the Redirect URL: - <https://<Codescan_URL>>/_codescan/oauth2/authorize.
- Select Repositories - Admin under application permissions. 
- Click Save. 
- Copy the generated Client ID and Client Secret immediately. 
FAQ
Issue
How to Fix
Mismatched credentials
Double-check clientId, clientSecret, and redirecturl.
Last updated
Was this helpful?

