Register the GitHub app
Platform operators register one GitHub App for Sectigo Quantum Ready. This is platform configuration; it does not grant the platform access to every repository or replace workspace sign-in.
Before you begin
- Sign in to the provisioning portal with your platform operator account and complete MFA.
- Sign in to GitHub as hassard0, the configured app owner.
- Keep the operator session open. The setup callback expires after 10 minutes and works only in the session that started it.
Register
- Open GitHub integration from the provisioning portal, or open GitHub setup.
- Review the requested permissions: Contents: read-only and Metadata: read-only. No repository writes or administration access are requested. Webhook delivery is disabled.
- Select Register with GitHub. GitHub opens in the same tab with the manifest already supplied. Review the app owner and name, then create the app.
- GitHub returns you to Quantum Ready. The server verifies the owner and permissions, stores the app credentials encrypted, and displays the registered app. Secrets never appear in the browser or status API.
Do not grant extra permissions to make setup pass. The callback rejects a different owner, write permissions, additional permission categories and event subscriptions.
What this enables
After registration, workspace administrators can select Connect GitHub on a saved repository. Install the app for the selected repositories, then authorize the GitHub account. The scan uses the intersection of that account's permissions and the app's repository access. Expiring user tokens renew automatically; credentials remain encrypted and are removed on disconnect. PAT access remains available. Follow the repository guide for installation, authorization and recovery.
The complete registration/authorization/renewal path is tested through the Worker with an isolated GitHub fixture. Real-account OAuth acceptance still requires app registration and an authorized private-repository scan; fixture success is not that evidence.
Recover from interrupted setup
- Session expired or mismatched: return to the operator portal and start a new setup in that same browser session.
- GitHub created the app but callback failed: inspect your GitHub developer settings before creating another app. The conversion code is single-use. A lost conversion response cannot be safely retried; remove the incomplete app in GitHub before registering a replacement. Credential import/recovery is not implemented yet.
- Wrong owner or permissions: correct the account choice or remove the incomplete app and restart with the supplied manifest.
- Already configured: the portal shows the registered app and its GitHub link. It does not silently overwrite an existing app or its credentials.
API and operational details
GET /api/auth/integrations/github-app returns registration metadata. POST /api/auth/integrations/github-app/start returns the manifest and fixed GitHub form action. POST /api/auth/integrations/github-app/finish exchanges the callback code. All require a verified operator session; POST also requires the canonical Origin. Tenant administrators cannot configure the platform app.
App secrets use the platform identity encryption key with an app-specific authenticated encryption context. Audit records include the operator, action and app ID, never the client secret or private key. The app registration cannot be replaced through these endpoints. The account page suppresses referrers and removes callback parameters before making the same-origin completion request.
The registration follows GitHub's manifest flow. Workspace installation consent remains a separate step.