You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mac OS - HTTP authentication - NTLMv2 authentication not working #22951
When authenticating via HTTP authentication and Proxy/Server negotiates protocol, Electron always uses NTLMv1.
To Reproduce
Configure all Domain Controllers for Windows server to only allow NTLMv2
Try to authenticate with correct credentials via Electron 'login'-Event
-> 'login'-Event in Electron is triggered again and the described Error Codes can be seen in Windows Event Log
NTLMv2 in Electron works on Windows 10 Version 1903 (OS Build 18362.476)
NTLMv2 is used and works per default on Chromium Browser Version 80.0.3987.158, which is used in current stable Electron Version 8.2.0, where it does not work
Hence this never worked on any electron versions before, I will have to enable this on older versions behind a flag. Will try to do this sometime later this week.
Activity
christophpre commentedon Apr 22, 2020
Any news on this?
deepak1556 commentedon Apr 22, 2020
Sorry I couldn't get time to PR this yet, but the cause is simple NTLMv2 was only enabled in chrome https://source.chromium.org/chromium/chromium/src/+/master:chrome/common/chrome_features.cc;l=517
The default value for embedders on posix platform is disabled https://source.chromium.org/chromium/chromium/src/+/master:services/network/public/mojom/network_service.mojom;l=155
Hence this never worked on any electron versions before, I will have to enable this on older versions behind a flag. Will try to do this sometime later this week.
rizi commentedon May 12, 2020
@deepak1556 any update on this? I also suffer from this bug.
thx in advance
christophpre commentedon May 25, 2020
@deepak1556 Sry to ask again. Do you have any timeline, when this bug can be addressed?
deepak1556 commentedon May 28, 2020
Working on a PR now.