You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Mohammad!
Thanks for your code, I used it as template.
But how about "forbidden" on Authorize(Roles = "admin")? If current user is not in the role(s), windows login handler redirects the request to Windows/Login and then to HTTP 404. How catch it and redirect to "forbidden" page?
The text was updated successfully, but these errors were encountered:
Hi Mohammad!
Thanks for your code, I used it as template.
But how about "forbidden" on
Authorize(Roles = "admin")
? If current user is not in the role(s), windows login handler redirects the request to Windows/Login and then to HTTP 404. How catch it and redirect to "forbidden" page?The text was updated successfully, but these errors were encountered: