github.com/nginxinc/kubernetes-ingress@v1.12.5/examples-of-custom-resources/oidc/oidc.yaml (about) 1 apiVersion: k8s.nginx.org/v1 2 kind: Policy 3 metadata: 4 name: oidc-policy 5 spec: 6 oidc: 7 clientID: nginx-plus 8 clientSecret: oidc-secret 9 authEndpoint: https://keycloak.example.com/auth/realms/master/protocol/openid-connect/auth 10 tokenEndpoint: http://keycloak.default.svc.cluster.local:8080/auth/realms/master/protocol/openid-connect/token 11 jwksURI: http://keycloak.default.svc.cluster.local:8080/auth/realms/master/protocol/openid-connect/certs 12 scope: openid+profile+email