# OIDCConnector drop-in for the AlmaForge server Helm chart.
# Pass it with --set-file 'configs.oidc\.yaml'=oidc.yaml and keep the
# client credentials in a Secret loaded through envFrom, so ${env:...}
# resolves at startup and the secret stays out of Helm release history.
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
  name: okta
spec:
  display: Okta
  issuerURL: https://[your-idp-host]
  clientID: ${env:OIDC_CLIENT_ID}
  clientSecret: ${env:OIDC_CLIENT_SECRET}
  scope:
    - openid
    - profile
    - email
  claimsToRoles:
    - claim: groups
      value: platform-admins
      roles:
        - admin
        - access
