Edge Browser: loginRedirect() returns 302 Status and no redirection happens
I am developing Flutter Web App that utilises msal in authentication flow. I managed to implement the auth flow and it works fine in most cases but there are some issues with specific scenarios especially on Edge browser. When loginRedirect() is called on Edge and the user is logged in the browser then the user ends up in login loop. loginRedirect() calls https://login.microsoftonline.com/{tenantId} with all the necessary parameters but nothing happens. In network calls I can see that sometimes the request is all in red without any status or 302 status is returned with the location in header exactly the same as the one it was called with. As I mentioned before for other cases it works fine as well as on incognito mode on Edge Browser. Using
promt=login
does not change anything.