From 60230a46df1b1f86737f0af9d8f508b7ff8c3881 Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Fri, 17 Jan 2025 10:46:29 -0800 Subject: [PATCH] Fix the booleans on the MSAL flows (#238148) * Loopback does _not_ work in REH or WebWorker * UrlHandler _does_ work in REH --- extensions/microsoft-authentication/src/node/flows.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/microsoft-authentication/src/node/flows.ts b/extensions/microsoft-authentication/src/node/flows.ts index 3e1d8c513f0..c6f40a943f6 100644 --- a/extensions/microsoft-authentication/src/node/flows.ts +++ b/extensions/microsoft-authentication/src/node/flows.ts @@ -41,8 +41,8 @@ interface IMsalFlow { class DefaultLoopbackFlow implements IMsalFlow { label = 'default'; options: IMsalFlowOptions = { - supportsRemoteExtensionHost: true, - supportsWebWorkerExtensionHost: true + supportsRemoteExtensionHost: false, + supportsWebWorkerExtensionHost: false }; async trigger({ cachedPca, scopes, loginHint, windowHandle, logger }: IMsalFlowTriggerOptions): Promise { @@ -62,7 +62,7 @@ class DefaultLoopbackFlow implements IMsalFlow { class UrlHandlerFlow implements IMsalFlow { label = 'protocol handler'; options: IMsalFlowOptions = { - supportsRemoteExtensionHost: false, + supportsRemoteExtensionHost: true, supportsWebWorkerExtensionHost: false };