Skip to content

Github

Prerequisites

Your Comet Installation must have a DNS record and be accessible via HTTPS.

Setup

Create a new OAuth app in GitHub

CometCtl AIO

Set the callback url to https://your-comet.com/api/github/github_oauth_callback Run cometctl aio update-config and set the following parameters:

environment_token: onprem-github-auth
github_oauth_enabled: true
github_client_id: $CLIENT_ID
github_client_secret: $CLIENT_SECRET

Enable GitHub authentication in the web application Edit /opt/comet-ml/html/public/config.js and set the following parameters:

SHOW_GOOGLE_AUTH: false,
DISABLE_GITHUB_AUTH: false,
DISABLE_SIGN_UP: true,

Verify Installation Open your browser from any machine within the network and visit http://comet-ml.yourcompany.com Sign up to your Comet enterprise version by clicking "Log in" on the top right corner You should see “Log in with GitHub” option enabled

Dec. 17, 2024