# OIDC connector for Google Workspace.
# Inject GOOGLE_OIDC_CLIENT_SECRET into the Auth Service environment.
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
  name: google
spec:
  issuerURL: https://accounts.google.com # OIDC discovery issuer URL.
  clientID: 1234567890-abcdef.apps.googleusercontent.com # OAuth client ID from Google.
  clientSecret: ${env:GOOGLE_OIDC_CLIENT_SECRET} # OAuth client secret from Google.
  claimsToRoles: # At least one mapping is required, or nobody can log in.
    - claim: hd
      value: example.com
      roles: [access]
