Fix the booleans on the MSAL flows (#238148)

* Loopback does _not_ work in REH or WebWorker
* UrlHandler _does_ work in REH
pull/238258/head
Tyler James Leonhardt 2025-01-17 10:46:29 -08:00 committed by GitHub
parent f1b4bb8d76
commit 60230a46df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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> {
@ -62,7 +62,7 @@ class DefaultLoopbackFlow implements IMsalFlow {
class UrlHandlerFlow implements IMsalFlow {
label = 'protocol handler';
options: IMsalFlowOptions = {
supportsRemoteExtensionHost: false,
supportsRemoteExtensionHost: true,
supportsWebWorkerExtensionHost: false
};