Unable to use Msal localStorage option on Azure Frontdoor (with WAF) hosted website #7537
Labels
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
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
4.0.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
4.0.2
Public or Confidential Client?
Public
Description
When upgrading to MSAL v4 and using localStorage as the backend for caching, MSAL creates a session cookie
msal.cache.encryption
as described in docs. This cookie stores a JSON string with the following format:{"id":"...uuid...","key":"qQfZ7...oWmXE"}
.The contents of this cookie triggers web application firewall rules for sql-injections.Error Message
No response
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Detects MySQL comment-/space-obfuscated injections and backtick termination
/Detects basic SQL authentication bypass attempts
/Detects classic SQL injection probings
)Expected Behavior
Similar as MSAL v3
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Other
Regression
@azure/msal-browser ^3
The text was updated successfully, but these errors were encountered: