Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to remove the www-authenticate header in the response? #171

Open
keithlee96 opened this issue May 17, 2018 · 0 comments
Open

Comments

@keithlee96
Copy link

When I make a request to my server, I when the credentials are invalid, the response returns with 401 unauthorised and the www-authenticate header. This results in the browser intercepting the response and putting the basic auth popup at the top of the screen. I want to prevent this popup from appearing. One way to do that is to remove the www-authenticate header from passport's response, but I can't find a way to do that easily. Any suggestions to fix the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant