@nibssplc/cams-sdk-react 1.0.0-rc.65 → 1.0.0-rc.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -514,7 +514,6 @@ function useCAMSMSALAuth(options) {
|
|
|
514
514
|
mfaConfig = {
|
|
515
515
|
accessToken: response.accessToken,
|
|
516
516
|
idToken: response.idToken,
|
|
517
|
-
// appCode,
|
|
518
517
|
provider: "MSAL",
|
|
519
518
|
APIAuthEndpoint: MFAEndpoint,
|
|
520
519
|
};
|
|
@@ -522,7 +521,8 @@ function useCAMSMSALAuth(options) {
|
|
|
522
521
|
return [4 /*yield*/, authenticator.GetUserMFAConfig(mfaConfig)];
|
|
523
522
|
case 3:
|
|
524
523
|
userConfig = _b.sent();
|
|
525
|
-
camsSdk.Logger.
|
|
524
|
+
camsSdk.Logger.debug("MFA Authenticator initialized:", userConfig);
|
|
525
|
+
console.log("MFA Authenticator initialized:", userConfig);
|
|
526
526
|
setRequiresMFA(userConfig.userInfo.isMFAEnabled);
|
|
527
527
|
// Don't persist as authenticated until MFA is complete
|
|
528
528
|
if (typeof window !== "undefined") {
|