How to fix redirect issue using msal in angular if using hash routing strategy ?
Vishva Cipherhex
5
Reputation points
I am using Microsoft Azure AD to authenticate the user and redirect back to my angular application with response.
Here in redirect url i am giving http://localhost:4200/demo/#/abc here abc is component where i want user to redirect after successful authentication.
Now I am able to get response but redirect is not working instead coming on login page.
Note : I am using handleRedirectObservable() method instead of MSAL redirect component.
Please help me so that i can redirect my user back to angular application with hash in the url and also get response i.e token API called.
Microsoft Security Microsoft Entra Microsoft Entra ID
25,081 questions
Sign in to answer