Shouldn't an authentication failure return status 401 as well?
sk91 opened this issue · 4 comments
sk91 commented
Shouldn't an authentication failure return status 401 as well?
gnuton commented
why this has been closed? is it still valid?
gnuton commented
ok I guess this has been cloased because the callback you pass to the authorization method gets an error when there is an auth failure. In this case you can throw 401
sk91 commented
sk91 commented
But it was ignored for more than 5 years ...