kee-org / browser-addon

Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
https://www.kee.pm
Other
455 stars 41 forks source link

NTLM authentication via the Network Authentication feature #87

Open cgassmann opened 7 years ago

cgassmann commented 7 years ago

Firefox 57.0, Kee 2.0.0.25

NTLM authentication isn't working (for example to a SharePoint site). Kee recognizes the URL and shows its credentials popup. However, after credentials are selected, Firefox still displays its regular authentication popup and credentials have to be entered manually.

luckyrat commented 7 years ago

I'm afraid I've seen no indication that the new Firefox will allow add-ons to support NTLM authentication so this request may have to be on the back burner for quite some time. Feel free to poke Mozilla to ask for support though since they might change their mind if enough people want it.

fbender commented 6 years ago

See e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=1429320

How about using the webRequest API for that? You could intercept the requests and act upon them before the "normal" Fx handlers kick in. Don't know how the internals work here but maybe you can dig into it a bit.

ebugusey commented 6 years ago

Kee already uses this event from webRequest API. And this event for some reason doesn't support NTLM. If you suggest to implement NTLM auth using onHeadersReceived event, consider the complexity of doing it without help from a browser. It's not worth it I say.

luckyrat commented 6 years ago

Mozilla are now accepting patches for community contributions to enable this feature in Firefox. If anyone fancies contributing this support to Firefox, the relevant links are on the bug that @fbender created: https://bugzilla.mozilla.org/show_bug.cgi?id=1429320