just create a logout razor page that calls:
_signInManager.SignOutAsync();
the via javascript interop redirect to the page
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all;
In my code I handle a DbUpdateConcurrencyException and for the case of updating a user's account, and the user no longer exists, I want to log them out - as they are no longer a valid user.
Granted, not a biggie because this should be rare and any page they try to go to will not accept them as they no longer have a claim. But its cleaner to log them out.
I can't use the SignInManager in Blazor. It requires a POST to LogOut.cshtml. So, what's my options?
thanks - dave
just create a logout razor page that calls:
_signInManager.SignOutAsync();
the via javascript interop redirect to the page