-
Notifications
You must be signed in to change notification settings - Fork 2.7k
AADSTS9000411 Duplicated Value on Angular 20 if using ESBuild #8142
Copy link
Copy link
Open
Labels
Needs: Attention 👋Awaiting response from the MSAL.js teamAwaiting response from the MSAL.js teambug-unconfirmedA reported bug that needs to be investigated and confirmedA reported bug that needs to be investigated and confirmedmsal-angularRelated to @azure/msal-angular packageRelated to @azure/msal-angular packagemsal-browserRelated to msal-browser packageRelated to msal-browser packagepublic-clientIssues regarding PublicClientApplicationsIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.
Metadata
Metadata
Assignees
Labels
Needs: Attention 👋Awaiting response from the MSAL.js teamAwaiting response from the MSAL.js teambug-unconfirmedA reported bug that needs to be investigated and confirmedA reported bug that needs to be investigated and confirmedmsal-angularRelated to @azure/msal-angular packageRelated to @azure/msal-angular packagemsal-browserRelated to msal-browser packageRelated to msal-browser packagepublic-clientIssues regarding PublicClientApplicationsIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
4.26.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
4.0.21
Public or Confidential Client?
Public
Description
After migrating an angular 19 application to Angular 20 the implementation breaks due to the query parameter property names gets renamed to value causing the title error message. This only happens when using the angular aplication (esbuild vite) builder since fallbacking to angular-devkit/build-angular:browser makes the implementation to work again with no code changes.
Error Message
AADSTS9000411 duplicated ‘value’ after being redirected to login.microsoft.
MSAL Logs
I cannot provide logs since the app is highly confindential
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Implement login redirect with angular 20 application builder (esbuild)
Try to login with a redirect request
Query parameters property names will all be ‘value’ instead of their proper name (clientId, code, etc)
Expected Behavior
Expected behavior would be to be able to login picking an account
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response