Hi Kong Nation,
I’m trying to setup Kong Ingress Controller with KeyCloak. I have both up and running fine in a local Kubernetes cluster but I can’t configure Kong to forward auth requests to KeyCloak via the OIDC plugin.
This is the YAML for OIDC plugin.
apiVersion: configuration.konghq.com/v1 kind: KongPlugin metadata: name: oidc labels: global: "true" config: client_id: kong client_secret: 56d88f68-7275-4691-aa75-3d0e419e8bb2 discovery: http://172.17.0.5:8080/auth/realms/master/.well-known/openid-configuration plugin: oidc
KeyCloak has the following IP address - 172.17.0.5 (internal to cluster) and I can curl the discovery address from another pod so KeyCloak seems to be up and running correctly.
When trying to apply the plugin YAML I’m getting the following error.
E0205 00:51:39.514093 1 kong.go:254] error filling in defaults for plugin: oidc
Any ideas of what I’m doing wrong?
Does anyone have an example of KongIngress and KeyCloak working together?
Any other ideas?