docs: add OIDC guide for OAuth2-Proxy and NGINX#3311
Conversation
|
@leemeo3: thank you for addressing the FR you referenced in the PR description. I fear however, that the NGINX guide is a wrong place to describe that setup. IMO, the best place would be a new guide document in same section where the other oidc related guides are located. |
047280d to
fd4d44a
Compare
|
Thanks for the placement guidance. I moved the content out of the NGINX guide into a new OIDC/Authn guide and force-pushed the signed commit. The current commit is |
|
Hi, sorry for the silence. I took a closer look at this PR today. I’m not convinced this adds enough value as a standalone guide in its current form. Most of the content appears to be a recombination of the existing NGINX guide, the existing first-party OIDC guide, and the setup already described in #2207. The NGINX part mostly repeats the existing What I would expect from a standalone guide is either a complete, reproducible end-to-end setup, or additional guidance that is not already covered elsewhere: the exact OAuth2-Proxy settings, the required Keycloak redirect/home URL changes, the relevant heimdall rules, and any important caveats specific to this topology. As written, I think this is closer to a short note about how to combine existing guides than a new guide on its own. |
fd4d44a to
4957865
Compare
|
Thanks, that makes sense. I reworked the guide in commit What changed:
Local validation:
I still could not run |
Related issue(s)
#2207
Checklist
Description
This adds a new guide under
guides/authnfor an OpenID Connect setup with OAuth2-Proxy, NGINX, and heimdall decision mode.The guide covers the related OAuth2-Proxy handoff pattern from #2207: OAuth2-Proxy owns the browser login and session cookie, NGINX stays in front of the upstream service, and heimdall makes the access-control decision through NGINX
auth_request.Per maintainer feedback, this is no longer placed in the NGINX proxy guide. The NGINX guide is back to its original scope, and the new content now lives next to the other OIDC-related guide.
Validation performed:
git diff --checkdocs/content/guides/authn/oidc_oauth2_proxy_nginx_decision.adocwithasciidoctordocs/content/guides/proxies/nginx.adocwithasciidoctorjust run-docswas not run locally because this environment does not havejustor Docker installed