You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my setup, most people use Kerberos tickets (works) but some need to type in username and password.
It works also, but they always need to type in username and password twice, leading to frustration and users believing they mistyped.
Playing around with auth_gss_realm and auth_gss_force_realm doesn't seem to make any difference with this.
This seems to be very browser dependent:
Happens on Chrome as described above: two prompts, first doesn't matter. Chrome also gives one spurious popup, even if auth_gss_allow_basic_fallback is set to off, but always results in 403.
Doesn't happen on Firefox, works fine.
On Edge, I also get a popup if auth_gss_allow_basic_fallback is off, but on it, the popup actually works.
I suspect this has something to do with the fact that basic auth fallback users also have to re-login quite often (might happen only on idle connections, not sure), even though the "Authorization: Basic ..." headers shouldn't actually have any kind of expiration, IIRC.
elonen
changed the title
Basic auth fallback always asks credentials twice
Basic auth always asks credentials twice on Chrome, Edge fallbacks even if auth_gss_allow_basic_fallback=true
Mar 24, 2023
@elonen , thank you for this case - it was very helpful, I thought at first it was a config issue or a miss type.
Do you know if there are any news regarding this?
@lavih No, I haven't found a good fix or workaround unfortunately. My current plan is to somehow try and detect Kerberos-eligible users before attempting auth_gss (perhaps by IP address) and offering others password login some other way.
In my setup, most people use Kerberos tickets (works) but some need to type in username and password.
It works also, but they always need to type in username and password twice, leading to frustration and users believing they mistyped.
Is there a way to avoid this behavior?
Here's my config, pretty usual:
Playing around with
auth_gss_realm
andauth_gss_force_realm
doesn't seem to make any difference with this.This seems to be very browser dependent:
auth_gss_allow_basic_fallback
is set tooff
, but always results in 403.auth_gss_allow_basic_fallback
is off, but on it, the popup actually works.Double prompt is also mentioned in #4
The text was updated successfully, but these errors were encountered: