keepassxc-browser
keepassxc-browser copied to clipboard
Cannot save basic auth credentials
When accessing a website that requires basic auth, I cannot save the credentials.
Expected Behavior
A pop up shows up to save the basic auth credentials (like it does when submitting HTML form fields).
Current Behavior
Nothing happens and no credentials are saved in the password file.
Steps to Reproduce (for bugs)
- Unlock the password file using KeePassXC desktop application
- Open the browser (make sure KeePassXC-Browser is connected to desktop application)
- Visit a website that requires basic auth (e.g. https://httpbin.org/basic-auth/user/passwd; User: user; Password: passwd)
- Enter login data and press "OK"
Debug info
KeePassXC - 2.5.0 KeePassXC-Browser - 1.5.3 Operating system: Linux (Kernel 5.3.7) Browser: Firefox 70.0 / Chromium 78.0.3904.70
This feature is very much needed.
Hello everybody, I see that this issue has been open for two years now and it would be nice to understand why: is it an impossible issue to solve? Is it an economic problem that we could somehow help?
Thank you for this great extension.
It's not impossible to do. Just a matter of time and priorities. I agree this has been open way too long.
missing it too as switching from chrome to keepassxc as password auth.
Just took another look at this. It seems that it's impossible to retrieve the credentials submitted to HTTP Basic Auth if it was done manually. The callback object doesn't hold that information at all. It might be a security issue. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired#details
But it's not prefilling it either. Thats the main point in my eyes. This way it's way more complicated to fill in the user/pass, as you have to look it up manually, instead of make it prefill. Just talking about how it's handled within the browser and mentioning the difference I encounter ;)
@futurewebpn Hmm? The automatic filling for HTTP Basic Auth credentials should work just fine. The option is not enabled by default in the extension settings.
Didn't work for me on multiple occasions though, in both Firefox and Chrome (option is enabled in both cases). Sometimes it submits the credentials after canceling the auth dialogue once and reloading the page, sometimes it still doesn't.
@futurewebpn Hmm? The automatic filling for HTTP Basic Auth credentials should work just fine. The option is not enabled by default in the extension settings.
In my case, I've enabled the option in the chromium extension settings and it asks me for consent, but the Basic Auth form doesn't become filled. Sistematically.
@futurewebpn Hmm? The automatic filling for HTTP Basic Auth credentials should work just fine. The option is not enabled by default in the extension settings.
you are right, that is working with me, at least on the page i need it regulary. Thanks for the hint, seems I didn't read careful enough.