This forum is not used anymore. Please ask new questions to Stack Overflow: ... ort=newest (use aspnetboilerplate tag).
By corneduplooy
#5823 Hi,

Is it possible to show a custom unauthorized page rather than redirecting to the login page if an unauthorized action is called.

Ive tried added a custom error to web.config for 401 errors, but the response status returns as 302.