@equinor/fusion-framework-module-msal
Advanced tools
Comparing version 0.1.0-alpha.10 to 0.1.0-alpha.11
@@ -16,3 +16,3 @@ import { AuthConfigurator } from './configurator'; | ||
const { scopes = [] } = request; | ||
if (!scopes.length) { | ||
if (scopes.length) { | ||
const token = await modules.auth.acquireToken({ scopes }); | ||
@@ -19,0 +19,0 @@ if (token) { |
{ | ||
"name": "@equinor/fusion-framework-module-msal", | ||
"version": "0.1.0-alpha.10", | ||
"version": "0.1.0-alpha.11", | ||
"description": "", | ||
@@ -24,4 +24,4 @@ "main": "./dist/esm/index.js", | ||
"dependencies": { | ||
"@equinor/fusion-framework-module": "^0.1.0-alpha.10", | ||
"@equinor/fusion-framework-module-http": "^0.1.0-alpha.10", | ||
"@equinor/fusion-framework-module": "^0.1.0-alpha.11", | ||
"@equinor/fusion-framework-module-http": "^0.1.0-alpha.11", | ||
"@equinor/fusion-web-msal": "^0.1.1" | ||
@@ -37,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "7a8db468f01ac70310a38f529a4e9afc112d39af" | ||
"gitHead": "aa21f8cf7a5470f9a41739e945af3b1ac63bc857" | ||
} |
@@ -28,3 +28,3 @@ import { AuthConfigurator, IAuthConfigurator } from './configurator'; | ||
const { scopes = [] } = request; | ||
if (!scopes.length) { | ||
if (scopes.length) { | ||
/** TODO should be try catch, check caller for handling */ | ||
@@ -31,0 +31,0 @@ const token = await modules.auth.acquireToken({ scopes }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90271