Skip to content

Commit

Permalink
Fix the booleans on the MSAL flows (#238148)
Browse files Browse the repository at this point in the history
* Loopback does _not_ work in REH or WebWorker
* UrlHandler _does_ work in REH
  • Loading branch information
TylerLeonhardt authored Jan 17, 2025
1 parent f1b4bb8 commit 60230a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/microsoft-authentication/src/node/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<AuthenticationResult> {
Expand All @@ -62,7 +62,7 @@ class DefaultLoopbackFlow implements IMsalFlow {
class UrlHandlerFlow implements IMsalFlow {
label = 'protocol handler';
options: IMsalFlowOptions = {
supportsRemoteExtensionHost: false,
supportsRemoteExtensionHost: true,
supportsWebWorkerExtensionHost: false
};

Expand Down

0 comments on commit 60230a4

Please sign in to comment.