3 ms·
You’re misusing 401: it’s only suitable when you’re using HTTP authentication. Refer to https://www.rfc-editor.org/rfc/rfc9110#name-401-unauthorized https://www
by chrismorgan 3y ago
You’re misusing 401: it’s only suitable when you’re using HTTP authentication. Refer to https://www.rfc-editor.org/rfc/rfc9110#name-401-unauthorized https://www.rfc-editor.org/rfc/rfc9110#name-401-unauthorized for explanation. You want 403 instead.