k4cg / matomat-service

Matomat as a Service (MaaS)
MIT License
5 stars 2 forks source link

Usage of the 401 status code when the token is rejected #32

Open C0rby opened 5 years ago

C0rby commented 5 years ago

The 401 status code is a better fit for rejecting failed authentication. https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_errors