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
The biggest question is where to put the switch between the two modes. I would suggest a new function, perhaps SPNEGOKRB5ProxyAuthenticate. Then that function and SPNEGOKRB5Authenticate would both call an unexported function with an extra parameter which would switch between regular HTTP authentication and proxy authentication.
What do you think?
The text was updated successfully, but these errors were encountered:
I needed similar flexibility for other features and suggested PR #391. I think your use case could technically be integrated in that approach too. However be aware that it is currently pending review.
I'd like to add support for HTTP proxy authentication. I think the changes would basically be limited to header names and status codes:
Authorization -> Proxy-Authorization
WWW-Authenticate -> Proxy-Authenticate
http.StatusUnauthorized -> http.StatusProxyAuthRequired
The biggest question is where to put the switch between the two modes. I would suggest a new function, perhaps
SPNEGOKRB5ProxyAuthenticate
. Then that function andSPNEGOKRB5Authenticate
would both call an unexported function with an extra parameter which would switch between regular HTTP authentication and proxy authentication.What do you think?
The text was updated successfully, but these errors were encountered: