Skip to content

Commit 60230a4

Browse files
Fix the booleans on the MSAL flows (microsoft#238148)
* Loopback does _not_ work in REH or WebWorker * UrlHandler _does_ work in REH
1 parent f1b4bb8 commit 60230a4

File tree

1 file changed

+3
-3
lines changed
  • extensions/microsoft-authentication/src/node

1 file changed

+3
-3
lines changed

extensions/microsoft-authentication/src/node/flows.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ interface IMsalFlow {
4141
class DefaultLoopbackFlow implements IMsalFlow {
4242
label = 'default';
4343
options: IMsalFlowOptions = {
44-
supportsRemoteExtensionHost: true,
45-
supportsWebWorkerExtensionHost: true
44+
supportsRemoteExtensionHost: false,
45+
supportsWebWorkerExtensionHost: false
4646
};
4747

4848
async trigger({ cachedPca, scopes, loginHint, windowHandle, logger }: IMsalFlowTriggerOptions): Promise<AuthenticationResult> {
@@ -62,7 +62,7 @@ class DefaultLoopbackFlow implements IMsalFlow {
6262
class UrlHandlerFlow implements IMsalFlow {
6363
label = 'protocol handler';
6464
options: IMsalFlowOptions = {
65-
supportsRemoteExtensionHost: false,
65+
supportsRemoteExtensionHost: true,
6666
supportsWebWorkerExtensionHost: false
6767
};
6868

0 commit comments

Comments
 (0)