Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4840

error 405 on identity logout with premade code

$
0
0

I get a 405 error on this code. that was the code that came with chosing identity at project creation. The login and everything else work fine. I am connected in an account.

My menu doesn't even allow the log out option if I'm not in an account. I can't debug the code either

           ClaimsPrincipal user,           SignInManager<ApplicationUser> signInManager,           [FromForm] string returnUrl) =>       {           await signInManager.SignOutAsync();           return TypedResults.LocalRedirect($"~/{returnUrl}");       });

Viewing all articles
Browse latest Browse all 4840

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>