browser-addon icon indicating copy to clipboard operation
browser-addon copied to clipboard

NTLM authentication via the Network Authentication feature

Open cgassmann opened this issue 8 years ago • 4 comments

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.

cgassmann avatar Nov 15 '17 22:11 cgassmann

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.

luckyrat avatar Nov 15 '17 22:11 luckyrat

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.

fbender avatar Jan 12 '18 11:01 fbender

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.

ebugusey avatar Jan 12 '18 15:01 ebugusey

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

luckyrat avatar Apr 09 '18 22:04 luckyrat