Sign in with GitHub
To enable Sign in with GitHub, you need to create a GitHub app in your GitHub organization. The following steps guide you through the process:
- Go to Create GitHub app page for your organization (https://github.com/organizations/
<org_name>
/settings/apps/new). Fill in the following:- GitHub App name: CubeAPM
- Homepage URL: Address at which CubeAPM is accessible in your environment, e.g., https://cubeapm.yourdomain.com/
- Callback URL:
<cube_apm_address>/api/auth/self-service/methods/oidc/callback/github
, e.g., https://cubeapm.yourdomain.com/api/auth/self-service/methods/oidc/callback/github
- Uncheck Webhook → Active (CubeAPM does not need WebHook access).
- Change Permissions → Account permissions → Email addresses from
Access: No access
toAccess: Read-only
. - Set Where can this GitHub App be installed? to Only on this account.
- Click Create GitHub App.
- Click Generate a new client secret. Copy the Client ID and Client secret.
- The above Client ID and Client Secret can be provided to CubeAPM to enable Sign in with GitHub.