This refers to this issue.
I host this WCF service on a user host. IIS is not an option.
Is there a way to insert the HTTP "Authenticate" header on the server stack (if one is missing) at an early stage of the request process - so that the default user can be transferred to the authentication system / authorization process that I have for anonymous requests?
I need SERVER to inject this on the receiving side - before further processing the WCF ...
I'm sure I can do this with a custom BindingElement or by extending WebHttpBinding, but any examples or recommendations would be welcome. I cannot find examples of early header manipulations (preauthentication) in WCF.
source
share