GitHub Authentication using GitHub Apps (CodeScan)
Connecting AutoRABIT (CodeScan) to GitHub Enterprise requires a secure handshake based on the GitHub Apps 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.
To create a GitHub App, copy the URL below.
https://your_ghes_hostname/settings/apps/new?name=codescan-enterprise-app&description=GitHub%20App%20for%20CodeScan%20integration&url=https://autorabit.com&callback_urls[]=https://YOUR_PUBLIC_BASE/_codescan/oauth2/authorize&request_oauth_on_install=true&public=true&contents=read&metadata=read&statuses=write&pull_requests=read&repository_hooks=write&setup_on_update=true&webhook_active=falseEdit the URL by replacing the following placeholders:
YOUR_GHES_HOSTNAME→ Your GitHub Enterprise Server URL (Example: github.company.com)YOUR_PUBLIC_BASE→ URL of the CodeScan instance (Example: app.codescan.io)
NOTE: App name must remain exactly: codescan-enterprise-app (do not modify this).
Paste the URL into your browser.
Keep the app public by enabling Any Account.

Click Create GitHub App
After creation, copy the App ID, Client ID and Client Secret, and use our ALM Configuration Article to complete your setup.
Last updated
Was this helpful?

