Getting TypeError: eventTypes.includes is not a function #7377
Labels
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.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.0.2
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
2.0.2
Public or Confidential Client?
Public
Description
Hi Team - I have started seeing the error - TypeError: eventTypes.includes is not a function in the last few days in our test environments, though higher environments does not have this issue.
Error Message
TypeError: a.includes is not a function
at EventHandler.ts:99:36
at Map.forEach ()
at _c.emitEvent (EventHandler.ts:89:33)
at Il.initialize (StandardController.ts:341:27)
at Ol.initialize (PublicClientApplication.ts:95:32)
at index.js:85:6
at f (authentication.js:102:3)
at index.js:17:1
at index.js:158:7
at index.js:158:7
MSAL Logs
There are no MSAL logs in the console
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
I see a blank screen instead of the login screen when navigating to the app url
Expected Behavior
The login page should be displayed when there is no active account or The App Home page should be displayed when there is an active account.
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge
Regression
"@azure/msal-browser": "3.0.2"
The text was updated successfully, but these errors were encountered: