Fix the booleans on the MSAL flows (#238148)
* Loopback does _not_ work in REH or WebWorker * UrlHandler _does_ work in REHpull/238258/head
parent
f1b4bb8d76
commit
60230a46df
|
@ -41,8 +41,8 @@ interface IMsalFlow {
|
||||||
class DefaultLoopbackFlow implements IMsalFlow {
|
class DefaultLoopbackFlow implements IMsalFlow {
|
||||||
label = 'default';
|
label = 'default';
|
||||||
options: IMsalFlowOptions = {
|
options: IMsalFlowOptions = {
|
||||||
supportsRemoteExtensionHost: true,
|
supportsRemoteExtensionHost: false,
|
||||||
supportsWebWorkerExtensionHost: true
|
supportsWebWorkerExtensionHost: false
|
||||||
};
|
};
|
||||||
|
|
||||||
async trigger({ cachedPca, scopes, loginHint, windowHandle, logger }: IMsalFlowTriggerOptions): Promise<AuthenticationResult> {
|
async trigger({ cachedPca, scopes, loginHint, windowHandle, logger }: IMsalFlowTriggerOptions): Promise<AuthenticationResult> {
|
||||||
|
@ -62,7 +62,7 @@ class DefaultLoopbackFlow implements IMsalFlow {
|
||||||
class UrlHandlerFlow implements IMsalFlow {
|
class UrlHandlerFlow implements IMsalFlow {
|
||||||
label = 'protocol handler';
|
label = 'protocol handler';
|
||||||
options: IMsalFlowOptions = {
|
options: IMsalFlowOptions = {
|
||||||
supportsRemoteExtensionHost: false,
|
supportsRemoteExtensionHost: true,
|
||||||
supportsWebWorkerExtensionHost: false
|
supportsWebWorkerExtensionHost: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue