server-auth
server-auth copied to clipboard
[14.0] [FIX] auth_api_key: return 401 instead of 403
AccessDenied() has status code 403 while, according to the docs the status code 401 suits better in this case so I would like to propose to use werkzeug.exceptions.Unauthorized instead, which returns 401.
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.