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

Cannot save basic auth credentials #668

Open
MetroMarv opened this issue Nov 4, 2019 · 10 comments
Open

Cannot save basic auth credentials #668

MetroMarv opened this issue Nov 4, 2019 · 10 comments
Assignees

Comments

@MetroMarv
Copy link

MetroMarv commented Nov 4, 2019

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)

  1. Unlock the password file using KeePassXC desktop application
  2. Open the browser (make sure KeePassXC-Browser is connected to desktop application)
  3. Visit a website that requires basic auth (e.g. https://httpbin.org/basic-auth/user/passwd; User: user; Password: passwd)
  4. 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

@quicktrick
Copy link

This feature is very much needed.

@Rain-ctrl
Copy link

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.

@varjolintu
Copy link
Member

It's not impossible to do. Just a matter of time and priorities. I agree this has been open way too long.

@futurewebpn
Copy link

missing it too as switching from chrome to keepassxc as password auth.

@varjolintu
Copy link
Member

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

@futurewebpn
Copy link

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 ;)

@varjolintu
Copy link
Member

@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.

@Tofuraven
Copy link

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.

@dharmann
Copy link

@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.

2022-08-30_14:48:15

@futurewebpn
Copy link

futurewebpn commented Aug 30, 2022

@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.

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

No branches or pull requests

7 participants