Closed pavankarthikparuchuri closed 1 month ago
@jo-arroyo hi could you help me out with this.
You've set navigateToLoginRequestUrl
config param to false which disables the behavior you're looking for. Either remove this config (default is true) or explicitly set it to true.
@pavankarthikparuchuri This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale.
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)