servant icon indicating copy to clipboard operation
servant copied to clipboard

BasicAuth: Allow disabling sending WWW-Authenticate header

Open agrafix opened this issue 4 years ago • 2 comments

Right now, the BasicAuth module sends the WWW-Authenticate header by default via servant-server. This isn't always desirable, since, when called via AJAX, it causes the browser to surface a login prompt on authentication failure.

This PR makes that behavior configurable.

agrafix avatar Jan 07 '21 05:01 agrafix

Hi agrafix,

Thanks for your contribution. The CI has been fixed, could you rebase your branch to see if it passes the CI checks?

akhesaCaro avatar Mar 19 '21 08:03 akhesaCaro

@agrafix Hi! Unfortunately we lost CI logs, could you please rebase your branch and push it again? :)

tchoutri avatar Dec 27 '21 19:12 tchoutri