Firefox Basic Auth API webRequest.onAuthRequired
I am using your plugin for Firefox:
https://addons.mozilla.org/de/firefox/addon/1password-x-password-manager/
In the last update (?) you took control over my Firefox password settings and disabled the Firefox option to store passwords. While that is fine for normal pages it also disables password storage for basic auth:
https://en.wikipedia.org/wiki/Basic_access_authentication
While that would be fine too but your plugin does not support saving passwords for basic auth.
There is even a ticket at mozilla about that from years ago and it look like you did not implement the according API:
https://bugzilla.mozilla.org/show_bug.cgi?id=1334609
There is also a discussion about this in you forum. At the end someone mentioned the same API
https://1password.community/discussion/82091/http-basic-auth
The discussion was closed without comment.
In result you password manager disable to store passwords for basic auth logins.
Please let me store basic auth passwords in firefox or implement this API.
Reading the old discussion I really think you should have a look at this again. There you claim you did not have a way to asked the user before filling the password. But the API provides an option exactly for this: See "Provide credentials asynchronously":
"For example, the extension might need to fetch credentials from storage, or ask the user."
1Password Version: Not Provided
Extension Version: 1.22.2
OS Version: Ubuntu
Sync Type: Not Provided
Referrer: forum-search:basic auth firefox
Comments
-
Hey @kw_pr ,
By default, when installing 1Password X it is indeed set as the default password manager, which disables the browser's built in password manager to prevent confusion and issues for new users. You can turn that feature off in 1Password X's settings (disable it as the default password manager), then you will be able to turn on Firefox's built-in password manager.
However, 1Password X does support basic auth prompts. You will have to manually create a new login item and then open it from 1Password X when you want to log in to the website:
- Open Firefox, then click the 1Password X extension icon on the top right corner and unlock it.
- Click the big PLUS icon in 1Password's window to reveal the menu and select "Login". This will open a new tab where you can create a new login item.
- Give the new login item a name, input the basic auth credentials into the username and password fields, then add the website's URL into the website field.
- Click on "Save" at the bottom and you will then have a working login for this website.
Basic auth prompts are not autofillable, but 1Password X can log you into the website directly without even showing the prompt if you launch it from 1Password X:
- Click the 1Password X extension icon in Firefox.
- Select the login for this website.
- Click on the blue "Go" button.
- 1Password X will take you there and log you in without even showing the basic auth prompt.
Let me know if that worked better for you :)
0