To enable Google OAuth2 you need register a new application with Google.
Create Google OAuth2 Keys
Go to the Credentials page.
Click Create credentials > OAuth client ID.
Select the Web application application type.
Enter Name (e.g. Kloudfuse)
Enter URL of the kloudfuse installation in the Authorized JavaScript Origins. Example: kloudfuse.yourcompany.com
Click Create
Copy the Client ID and Client Secret from the ‘OAuth Client’ modal
Enable Google Auth in Kloudfuse
Edit the auth-credentials secret in kfuse namespace of your kloudfuse installation.
Replace/add Client ID, Client Secret and google domain - you will need to do base64 encode the Client ID, Client Secret and the google domain.
kubectl edit secret auth-credentials -n kfuse
Set the authentication type (AUTH_TYPE) in auth config map to “google”
kubectl edit configmap auth -n kfuse
You can also edit the values.yaml from your original installation of kfuse to add:
auth: config: AUTH_TYPE: "google"
You will need to do
helm upgrade --install kfuse -f <values.yaml> -f <gcp/aws>.yaml
For the config to take effect
Restart the auth service
You should now see a Google login button on the login page