For me, this works for a few hours until my token expires, but the Msal library doesn't seem to automatically get a new token. Do you have the same experience? Even after I manually try to sign out with await SignOutManager.SetSignOutState();
any pages that I decorate with an [Authorize]
attribute, still get routed to my NotAuthorized view. The only way I can get a new token is if I completely clear localStorage in my browser.
Did you find a solution to that related comment? I'm finding exact the same issue.