Category "asp.net-authorization"

MVC POST requests losing Authorization header - how to use API Bearer Token once retrieved

I have spent the last week creating an API for an existing MVC application, and am now attempting to secure the API along with reworking the MVC side security a

Blazor server app still authorized even after altering cookies

I have tested a sample Blazor server application that uses standard ASP.NET Core Identity and I logged in successfully. But even after I tried to alter the cook

Is there a way to Redirect in AuthorizationHandler in .Net 5?

I would like to redirect to an action in my AuthorizationFilter if it fails certain checks. The reason why I want to redirect instead of sending user to "Access