Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

got error message from MSAL common dist in catchmanager js #7436

Open
2 tasks
ParinPatel45 opened this issue Nov 21, 2024 · 0 comments
Open
2 tasks

got error message from MSAL common dist in catchmanager js #7436

ParinPatel45 opened this issue Nov 21, 2024 · 0 comments
Labels
b2c Related to Azure B2C library-specific issues bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-browser Related to msal-browser package msal-react Related to @azure/msal-react Needs: Attention 👋 Awaiting response from the MSAL.js team public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@ParinPatel45
Copy link

Core Library

MSAL.js (@azure/msal-browser)

Core Library Version

1.5.13

Wrapper Library

MSAL React (@azure/msal-react)

Wrapper Library Version

none

Public or Confidential Client?

Public

Description

yesterday i deployed my react Application on Azure devops then I got error message from MSAL-common/dist & application not able to load in dev env

Error Message

Uncaught TypeError: Object(...) is not a function
image

MSAL Logs

Uncaught TypeError: Object(...) is not a function
image

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

CacheManager.toObject = function (obj, json) {
    for (var propertyName in json) {
      obj[propertyName] = json[propertyName];
    }

    return obj;
  };

  return CacheManager;
}();

var DefaultStorageClass =
/** @class */
function (_super) {
  __extends(DefaultStorageClass, _super);

  function DefaultStorageClass() {
    return _super !== null && _super.apply(this, arguments) || this;
  }

Relevant Code Snippets

got error message from MSAL-common/dist in catchmanager.js
Uncaught TypeError: Object(...) is not a function

Reproduction Steps

got error message from MSAL-common/dist in catchmanager.js
Uncaught TypeError: Object(...) is not a function

Expected Behavior

working page as nornally for loading
got error message from MSAL-common/dist in catchmanager.js

Identity Provider

Azure B2C Basic Policy

Browsers Affected (Select all that apply)

Chrome

Regression

No response

@ParinPatel45 ParinPatel45 added bug-unconfirmed A reported bug that needs to be investigated and confirmed question Customer is asking for a clarification, use case or information. labels Nov 21, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Nov 21, 2024
@github-actions github-actions bot added b2c Related to Azure B2C library-specific issues msal-browser Related to msal-browser package msal-react Related to @azure/msal-react public-client Issues regarding PublicClientApplications labels Nov 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
b2c Related to Azure B2C library-specific issues bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-browser Related to msal-browser package msal-react Related to @azure/msal-react Needs: Attention 👋 Awaiting response from the MSAL.js team public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

1 participant