GitHub Authentication using OAuth (CodeScan)
Connecting AutoRABIT (CodeScan) to GitHub Enterprise requires a secure handshake based on the OAuth 2.0 Authorization Framework.
Applies To
- GitHub Enterprise Server (self-managed) deployments; not applicable to GitHub. 
Generate Client ID and Client Secret
- Log in to your GitHub Enterprise Server with an admin account. 
- Click your profile section (upper-right) and select Developer settings. 
- In the left sidebar, click OAuth Apps. 
- Click New OAuth App (or Register a new application). 
- Fill in: - Application name: e.g., CodeScan GitHub OAuth 
- Homepage URL: e.g., <https://git.enterprise.local.com> 
- Application description (optional) 
- Authorization callback URL: <https://<Codescan_URL>>/_codescan/oauth2/authorize 
 
- Click Register application. 
- On the app’s settings page, copy the Client ID and click Reveal next to Client Secret to copy it. 
FAQ:
Issue
How to Fix
Mismatched credentials
Double-check clientId, clientSecret, and redirecturl.
Last updated
Was this helpful?

