microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.31k stars 29.31k forks source link

New Windows Security dialog when authenticating (MSAL) #226349

Closed winstliu closed 2 months ago

winstliu commented 2 months ago

Does this issue occur when all extensions are disabled?: Yes

Version: 1.93.0-insider (user setup) Commit: c2aa3c4625ed4b46448fa546ac5f2e93b0757718 Date: 2024-08-22T05:03:56.076Z Electron: 30.3.1 ElectronBuildId: 9960165 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.27691

Steps to Reproduce:

When MSAL is enabled, the first time you try to log into an account, a Windows Security dialog pops up asking if you want to allow network access. windows-security

  1. Enable MSAL for the first time
  2. Try logging into an account
  3. Observe modal dialog
TylerLeonhardt commented 2 months ago

Fix upstream here: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7268

TylerLeonhardt commented 1 month ago

Steps to verify (only if you've never done MSAL-based Microsoft auth before):

You should not see the dialog shown above.