Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

AuthorizationHandler redirection on Fail

$
0
0

Is there a way to do a page redirect if an AuthorizationHandler provides a Fail()? 

I'd like to have my own Unauthorized page to show up on such cases, instead of only getting back a 401.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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