Setting up Google-Auth

[WIP, this is borrowed from early version of documentation and likely needs some attention]

Next, you need to register Google OAuth 2.0 Client ID for the endpoint on your GCP project. You will get the Client ID required for the environment variables. For this follow the below steps: b. Now, click Credentials and create a new credential. You will see the ClientID over here. Keep it safe for the environment.json file.

c. Now, add valid UI hosted urls on the credentials page of the Project you have created and selected from the top, as shown below:

d. It will take 1 minute to a few hours to reflect the Google login access in the Upgrade Frontend.

e. Lastly after github actions you need to once upload the environment.json file with the endpointApi and gapiClientId in the frontend s3 bucket for prod deployment in the below format:

{
   "baseApiUrl": "<Your api base host url>",
   "googleClientId": "<Your Google OAuth 2.0 Client ID>"
}

You should see the below screen:

Finally your Upgrade frontend is deployed successfully!!!

Login using the gmail id with the domain specified during the deployment and you are ready to create experiments.

Last updated