mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 15:01:57 +01:00
Fix the booleans on the MSAL flows (#238148)
* Loopback does _not_ work in REH or WebWorker * UrlHandler _does_ work in REH
This commit is contained in:
committed by
GitHub
parent
f1b4bb8d76
commit
60230a46df
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user