stnoonan / spnego-http-auth-nginx-module

SPNEGO HTTP Authentication Module for nginx
Other
275 stars 112 forks source link

Basic auth fails when we send user name with domain name. #93

Closed sathishgovindan closed 4 years ago

sathishgovindan commented 5 years ago

What I found was basic auth works for user_name alone but not for domain\user_name.

FYI: Even this is happening when server and user in the same domain.

stnoonan commented 4 years ago

IIRC https://github.com/stnoonan/spnego-http-auth-nginx-module/blob/master/ngx_http_auth_spnego_module.c#L340 we only support the hardcoded realm for basic auth. Feel free to send a pull request expanding that support.