[API Request] WebExtension API for password managers to provide credentials
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(Not tracked)
People
(Reporter: bugzilla, Unassigned)
References
Details
(Whiteboard: webextension-api-request)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
There should be an API that allows password managers (like keepass(xc), lastpass, etc.) to provide credentials when they are needed.
Something similar to https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired could work but it has to fire for all kind of credential requests: imap, pop3, smtp, nntp, oauth, http(s), webdav, etc.
It should also be possible for other addons to leverage this API to retrieve credentials.
I created https://github.com/kkapsner/keepassxc-mail for keepassxc which uses an experiment. But I think it would be better if the API would integrate on a deeper level than the UI.
With "other addons" I mean something like Provider for Google Calendar
Comment hidden (metoo) |
Any decision on this feature?
BTW at the moment my experiment does not work any more since TB 73 as ExtensionSupport.registerWindowListener seems to do nothing now...
Comment hidden (metoo) |
Comment hidden (metoo) |
Who can decide on this feature?
PS: my experiment now works again in newer TB.
Updated•4 years ago
|
Comment 7•2 years ago
|
||
An update on this would be nice.
It's very helpful to be able to interface with a password manager without having to deal with the idiosyncrasies of "hacks".
See: https://github.com/kkapsner/keepassxc-mail/issues/68
Comment 8•2 years ago
|
||
I am unaware of a Firefox API to interact with password prompts. Asked for more info in the linked issue.
Updated•2 years ago
|
Comment 9•1 year ago
|
||
I've made a proposal issue for an extensions API for credential management to the web extensions GitHub repository https://github.com/w3c/webextensions/issues/361
For the full benefits Firefox would have to "finish" implementing the credential management API https://bugzilla.mozilla.org/show_bug.cgi?id=1156047 specifically the PasswordCredential type.
Description
•