-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ACL Tab returns 401 #1436
Comments
For anyone running into the same issue, I've got a workaround. It's basically using NGINX to step out in front of the
|
Closing this out as I don't think there's any work to do on the Consul side, other than #2370. |
Sorry but I think this issue should be reopened |
EDIT:
Digging into this a little bit further, it seems Chrome is re-prompting because the ACL tab returns a 401 which immediately invalidates any cached credentials.
https://code.google.com/p/chromium/issues/detail?id=72589
Could the response code be changed for the ACL page to possibly something like 403 so certain browsers won't re-prompt for authentication?
I don't think this issue with Consul per-se, but I thought I would raise the issue here just in-case someone has a suggestion or has resolved this already. I've configured NGINX to proxy_pass for both
/ui
, &/v1/
to my Consul servers, and I've configured nginx-auth-ldap for AD authentication. Everything is working fine, but after I authenticate in Chrome, I get re-prompted to authenticate after I click through several tabs (e.g. Services->Nodes->ACL->DC->Re-Authentication Window). I do not get this issue in Firefox. Would anyone know why? Below are my NGINX proxy_pass configs, the issue I raised on the nginx-auth-ldap repo, and the access logs from this type of event in Chrome & Firefox:If more information is required please let me know. Thanks in advance!
kvspb/nginx-auth-ldap#106
You can see from below that it drops the
$remote_user
header when I make that last request in Chrome.The text was updated successfully, but these errors were encountered: