Skip to content

Google oauth

Prerequisites

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

Setup

Create a new client ID in Google Cloud Platform Console If this is your first time creating a client ID, you will need to configure your consent as well

Set the callback URL to: https://your-comet.com/api/google/google_oauth_callback Take a note of client ID and client secret for configuration in the next step.

CometCtl AIO

Run cometctl aio update-config file and set the following parameters:

# Google Oauth
google_oauth_enabled: true
google_client_id: $CLIENT_ID
google_client_secret: $CLIENT_SECRET
environment_token: onprem-google-auth

Update the system configuration cometctl aio update-config

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 Google” option enabled

Dec. 17, 2024