rhsso-client.yml 991 B

123456789101112131415161718192021222324252627282930313233343536
  1. apiVersion: keycloak.org/v1alpha1
  2. kind: KeycloakClient
  3. metadata:
  4. name: rhacs-client
  5. namespace: openshift-sso
  6. labels:
  7. app: sso
  8. spec:
  9. realmSelector:
  10. matchLabels:
  11. app: sso
  12. client:
  13. clientId: rhacs
  14. secret: averysecretsecret
  15. defaultClientScopes:
  16. - email
  17. - offline_access
  18. - profile
  19. - roles
  20. protocolMappers:
  21. - name: groups
  22. protocol: openid-connect
  23. protocolMapper: oidc-usermodel-client-role-mapper
  24. consentRequired: false
  25. config:
  26. "multivalued": "true"
  27. "userinfo.token.claim": "true"
  28. "access.token.claim": "true"
  29. "claim.name": "groups"
  30. "jsonType.label": "JSON"
  31. "usermodel.clientRoleMapping.clientId": "rhacs"
  32. implicitFlowEnabled: True
  33. standardFlowEnabled: True
  34. redirectUris:
  35. - https://central-rhacs.apps.ocp4.example.com/sso/providers/oidc/callback
  36. - https://central-rhacs.apps.ocp4.example.com/auth/response/oidc