Nginx out of the box does not support OIDC. There are a series of just targets that help to show off the integration that was done using OpenResty.
- just | tested version 1.36.0
- k3d | tested version v5.7.4
- docker | tested version 27.3.1
- helm | tested version 3.16.1
just reset-allThe above call will do the following:
- Deploy a local docker registry
- Deploy a K3d cluster
- Update coreDNS in the cluster to enable resolution for the registry spun up in step 1
- Deploy HAProxy in the cluster as an ingress controller
- Deploy Keycloak in the cluster
- Setup a test realm in Keycloak and configure a user
- Build the custom Nginx image and push it to the registry stood up in step 1
- Deploy Nginx to the cluster
- Profit
By default, the domains set for both Keycloak and Nginx are wsp.local. I'm assuming that your local domain is different. Not everything is installed using helm so your best bet right now is to find/replace wsp.local in the entire repo with your local domain.
No assumptions are made about local DNS. Be sure to add DNS entries for keycloak.<domain> and nginx.<domain> to resolve to the IP of the host where the K3d cluster is running.
After that, you should be able to hit http://keycloak.<domain> and http://nginx.<domain>.
Credentials are below.
| User | Password | Purpose |
|---|---|---|
admin |
admin123 |
Keycloak UI |
testuser |
testpass123 |
SSO test user creds (against http://nginx.<domain>/secure) |