authelia/server/src/lib/routes
Clement Michaud 56fdc40290 Every public endpoints return 200 with harmonized error messages or 401
Now, /verify can return 401 or 403 depending on the user authentication.
Every public API endpoints and pages return 200 with error message in
JSON body or 401 if the user is not authorized.

This policy makes it complicated for an attacker to know what is the source of
the failure and hide server-side bugs (not returning 500), bugs being potential
threats.
2017-10-14 11:57:38 +02:00
..
error Split client and server 2017-10-07 00:49:42 +02:00
firstfactor Every public endpoints return 200 with harmonized error messages or 401 2017-10-14 11:57:38 +02:00
loggedin Redirect user when he has already validated some factors 2017-10-09 01:07:32 +02:00
logout Split client and server 2017-10-07 00:49:42 +02:00
password-reset Every public endpoints return 200 with harmonized error messages or 401 2017-10-14 11:57:38 +02:00
secondfactor Every public endpoints return 200 with harmonized error messages or 401 2017-10-14 11:57:38 +02:00
verify Every public endpoints return 200 with harmonized error messages or 401 2017-10-14 11:57:38 +02:00
FirstFactorBlocker.ts Every public endpoints return 200 with harmonized error messages or 401 2017-10-14 11:57:38 +02:00