Keycloak and oauth2-proxy demo
This is a helm chart to show how to use oauth2-proxy to authenticate users with Keycloak.
Instructions
-
helm install -n oidc oidc
- Login to Keycloak admin console at http://keycloak-7f000001.nip.io:31234 with admin/password.
- Create a new realm named "test"
- Create a new client called "oauth2-proxy", set frontend url to http://test-7f000001.nip.io:31234/auth. Set client's Access Type to confidential.
- Replace clientSecret in values.yaml with client's secret from Keycloak console.
- Run helm upgrade to apply the new client's secret.
helm upgrade -n oidc oidc .
- Create a new user in Keycloak.
- Login to http://test-7f000001.nip.io:31234 using the newly created user.