mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
Re-enable MSAL broker on macOS (#267833)
Fixes https://github.com/microsoft/vscode/issues/260158
This commit is contained in:
committed by
GitHub
parent
31d762909e
commit
bf0108fb1e
@@ -51,8 +51,8 @@ export class CachedPublicClientApplication implements ICachedPublicClientApplica
|
||||
|
||||
const loggerOptions = new MsalLoggerOptions(_logger, telemetryReporter);
|
||||
let broker: BrokerOptions | undefined;
|
||||
if (process.platform !== 'win32') {
|
||||
this._logger.info(`[${this._clientId}] Native Broker is only available on Windows`);
|
||||
if (process.platform !== 'win32' && process.platform !== 'darwin') {
|
||||
this._logger.info(`[${this._clientId}] Native Broker is only available on Windows and macOS`);
|
||||
} else if (workspace.getConfiguration('microsoft-authentication').get<'msal' | 'msal-no-broker'>('implementation') === 'msal-no-broker') {
|
||||
this._logger.info(`[${this._clientId}] Native Broker disabled via settings`);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user