-
Notifications
You must be signed in to change notification settings - Fork 4
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 error #456
Comments
Lines 10 to 20 in c1fb100
|
Even when a hint is not empty, it fails on mobile; |
komuw
added a commit
that referenced
this issue
Jun 16, 2024
- This was failing in mobile browsers. They were unable to show the username/password popup. I suspect that those clients only expect a header of the form `www-authenticate: Basic realm=realmStr`. Where `realmStr` is a string with no special characters. The docs say that `realmStr` is any string whose character set is `us-ascii`. The `:` colon symbol is part of us-ascii(number 58). So I don't know why it would cause mobile clients to fail. - Fixes: #456 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#realm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you use an empty
hint
, basic auth middleware returns;www-authenticate: Basic realm=enter username and password:
This works okay on desktop browsers but doesn't on mobile
The text was updated successfully, but these errors were encountered: