-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external-auth with oauth2-proxy stopped working #1429
Comments
@krogon-dp please test quay.io/aledbf/nginx-ingress-controller:0.236 |
same problem here, and quay.io/aledbf/nginx-ingress-controller:0.236 fails with error |
@fengmao that flag is deprecated. Please use --configmap |
use helm, it seems need to change helm's nginx-ingress template file, thanks |
@aledbf changed image to
|
I am currently having this issue using quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.10.1 and an image using the latest release of oauth2_proxy (v2.2). My ingress annotations for the service I am trying to auth:
I tried to follow the conversation here bitly/oauth2_proxy#456, but all the oauth2_proxy PRs I can find connected this issue (which there are many....) are either closed or still open. Any pointers on how to fix this issue? |
@kinghrothgar this works fine if the auth-signin and auth-url are on the same host than the ingress rule. |
That's the first thing I tried. That is broken because ingress-nginx tries to use an IPv6 address which doesn't work on GCE:
|
Introduced with this change #1189 in version nginx 0.9-beta.12 breaks oauth2-proxy external authentication feature (https://github.com/kubernetes/ingress/tree/master/examples/auth/external-auth/nginx).
OAuth2-proxy after successfull authorization redirects again to login page. Details in below issue from their project: bitly/oauth2_proxy#456
The text was updated successfully, but these errors were encountered: