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

Basic Auth Filter should include WWW-Authenticate header in its 401 response #34015

Open
zhaohuabing opened this issue May 8, 2024 · 2 comments · May be fixed by #34214
Open

Basic Auth Filter should include WWW-Authenticate header in its 401 response #34015

zhaohuabing opened this issue May 8, 2024 · 2 comments · May be fixed by #34214
Labels
area/basic_auth enhancement Feature requests. Not bugs or questions. help wanted Needs help!

Comments

@zhaohuabing
Copy link
Member

A server using HTTP authentication will respond with a 401 Unauthorized response to a request for a protected resource. This response must include at least one WWW-Authenticate header and at least one challenge, to indicate what authentication schemes can be used to access the resource (and any additional data that each particular scheme needs).

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate

@zhaohuabing zhaohuabing added enhancement Feature requests. Not bugs or questions. triage Issue requires triage labels May 8, 2024
@phlax phlax added area/basic_auth and removed triage Issue requires triage labels May 8, 2024
@phlax
Copy link
Member

phlax commented May 9, 2024

cc @wbpcode

@wbpcode
Copy link
Member

wbpcode commented May 10, 2024

SGTM.

@wbpcode wbpcode added the help wanted Needs help! label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/basic_auth enhancement Feature requests. Not bugs or questions. help wanted Needs help!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants