contour
contour copied to clipboard
Forward auth support
Please describe the problem you have
We're looking for some equivalent functionality of forward auth in Traefik https://docs.traefik.io/middlewares/forwardauth/ https://github.com/thomseddon/traefik-forward-auth
Is there any plan to support something similar to that? This is for the case when the user app does not have built-in support for authentication/authorization, and would like to have a general way to do that in the proxy.
Hey @jieyu, this is currently an issue on the backlog (https://github.com/projectcontour/contour/issues/432). But it is something that I really would like to get added. We're going to be doing some planning for the next release (after 1.1), so we will have more details after 1.1 ships.
Relating #432, #433 , #986 and #1014 which are all touching on aspects of authentication support.
Related #68
I've implemented a Contour / Envoy compatible ext_authz service to act as a forward authN middleware: https://github.com/MrSaints/forward-ext-authz-service
It is based on the same code, and flow used by Traefik's forward authN middleware. I've currently tested it to success with Pomerium.
That looks really neat, thanks @MrSaints!
Are there any plans to support this in contour as a built-in feature?
The Contour project currently lacks enough contributors to adequately respond to all Issues.
This bot triages Issues according to the following rules:
- After 60d of inactivity, lifecycle/stale is applied
- After 30d of inactivity since lifecycle/stale was applied, the Issue is closed
You can:
- Mark this Issue as fresh by commenting
- Close this Issue
- Offer to help out with triage
Please send feedback to the #contour channel in the Kubernetes Slack
The Contour project currently lacks enough contributors to adequately respond to all Issues.
This bot triages Issues according to the following rules:
- After 60d of inactivity, lifecycle/stale is applied
- After 30d of inactivity since lifecycle/stale was applied, the Issue is closed
You can:
- Mark this Issue as fresh by commenting
- Close this Issue
- Offer to help out with triage
Please send feedback to the #contour channel in the Kubernetes Slack