Query params are being lost after Azure AD Login #7326
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: Author Feedback
Awaiting response from issue author
no-issue-activity
Issue author has not responded in 5 days
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.5.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
none
Public or Confidential Client?
Public
Description
Hi Team,
We are using Azure AD Authentication to validate users after successful verification it is navigating to url with same pathname but not carrying query params
For example :
redirecturi : https://www.testurl.com/ (Configured in App registration under Auzre portal)
Here it will navigate azure ad login page after successful login it will navigate to above redirecturi.
Problem : Now If user is trying to access specific document or specific url as mentioned below (If user is not authenticated)
https://www.testurl.com/abc?id=100
User should navigate to Azure AD login page >> after successful login >> it should navigate to user requested URL for example above URL (https://www.testurl.com/abc?id=100), But it is navigating to https://www.testurl.com/abc.
How to handle this type of scenario to navigate to desired URL?
Error Message
No response
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
none
Expected Behavior
Redirection along with query params
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Other
Regression
@azure/msal-browser 3.5.0
Source
Internal (Microsoft)
The text was updated successfully, but these errors were encountered: