Authentication Setup
Google Configuration
-
Enable Admin SDK API Admin SDK API for your project.

-
Create a Web Application Integration: In the google cloud console under
Enabled APIs & Servicesgo to credentials and create a new credentials forOAuth Client IDs. -
Select the application type:
Web Applicationand give it a name -
Save Credentials: Record the generated client ID and client secret for later use in ScaleOps configuration as
clientID,clientSecretrespectively. -
Configure Callback URL:
- For ingress setup: Use your ScaleOps dashboard URL followed by
/auth/callback(e.g.,https://<YOUR-SCALEOPS-DASHBOARD-URL>/auth/callback). - For port forwarding without ingress: Use
http://localhost:8080/auth/callback.
- For ingress setup: Use your ScaleOps dashboard URL followed by
-
Save Credentials: Record the generated client ID and client secret for later use in ScaleOps configuration.

ScaleOps Configuration
Add the following helm values to your helm values.yml file:
authProvider:
provider: google
google:
clientID: <CLIENT-ID>
clientSecret: <CLIENT-SECRET>Groups Setup
Google Configuration
In order to enable groups, ScaleOps needs the ability to query the users groups, this is done after we acquire the users token. Unfortunately, Google doesn’t allow users to use their own token to query for groups they are in. To solve this you would need to create a service account, here are the steps
-
Service Account: In the google cloud console under
Enabled APIs & Servicesgo to credentials and create a new set forService Account. -
Fill in the name, description and if you like the id and click
Done
-
Go to Admin roles page and assign service account to
Groups Reader.


-
(Optional) Go to Admin domain delegation and add the scope
https://www.googleapis.com/auth/admin.directory.group.readonlyto the service account.
Once you have the service account ready, you need to create
Keys.- Pick the
Keystab - Click
ADD KEY - Click on
Create New - Select
jsonand Click create

The key will automatically be downloaded into your downloads’ folder.
- Pick the
ScaleOps Configuration
Add the following helm values to your helm values.yml file:
authProvider:
provider: google
authorization:
enabled: true
google:
clientID: <CLIENT-ID>
clientSecret: <CLIENT-SECRET>
defaultAdminGroups:
- admins@company.com
defaultViewerGroups:
- viewers@company.com
defaultOperatorGroups:
- operators@company.com
googleServiceAccountCredentials: |-
<contents of /full/path/to/downloads/credentials.json>Where company.com is the domain of your Google organization.
And the group-name is the slug of the group you want to be the default admin group.