How to return 403 or 401 using AuthenticationFunc instead of default 400? #1861
Unanswered
sebastianpawlaczyk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have following request auth validator.
When the token is invalid I receive an error response, but instead of 401 or 403 I get 400 as default error code. How to return 401/403 for invalid auth validation?
Beta Was this translation helpful? Give feedback.
All reactions