rhsso-client.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. - web-origins
  18. - acr
  19. - profile
  20. - roles
  21. optionalClientScopes:
  22. - address
  23. - phone
  24. - offline_access
  25. - microprofile-jwt
  26. protocolMappers:
  27. - name: "realm roles"
  28. protocol: openid-connect
  29. protocolMapper: oidc-usermodel-realm-role-mapper
  30. consentRequired: false
  31. config:
  32. "multivalued": "true"
  33. "userinfo.token.claim": "true"
  34. "access.token.claim": "true"
  35. "claim.name": "realm_access.roles"
  36. "jsonType.label": "String"
  37. - name: groups
  38. protocol: openid-connect
  39. protocolMapper: oidc-usermodel-realm-role-mapper
  40. consentRequired: false
  41. config:
  42. "multivalued": "true"
  43. "userinfo.token.claim": "true"
  44. "access.token.claim": "true"
  45. "claim.name": "groups"
  46. "jsonType.label": "JSON"
  47. standardFlowEnabled: True
  48. directAccessGrantsEnabled: True
  49. frontChannelLogout: True
  50. fullScopeAllowed: True
  51. implicitFlowEnabled: True
  52. redirectUris:
  53. - https://central-rhacs.apps.ocp4.example.com/sso/providers/oidc/callback
  54. - https://central-rhacs.apps.ocp4.example.com/auth/response/oidc