authelia/server/test/mocks
Clement Michaud 6b78240d39 Fix endpoints redirection on errors
From this commit on, api endpoints reply with a 401 error code and non api
endpoints redirect to /error/40X.

This commit also fixes missing restrictions on /loggedin (the "already logged
in page). This was not a security issue, though.

The change also makes error pages automatically redirect the user after few
seconds based on the referrer or the default_redirection_url if provided in the
configuration.

Warning: The old /verify endpoint of the REST API has moved to /api/verify.
You will need to update your nginx configuration to take this change into
account.
2017-11-01 14:46:23 +01:00
..
connectors/mongo Split client and server 2017-10-07 00:49:42 +02:00
ldap Refactor endpoints to get server variables as input parameters 2017-10-31 07:26:53 +01:00
notifiers Less restrictive email handler - replace gmail with generic 2017-10-25 19:28:56 +11:00
storage Split client and server 2017-10-07 00:49:42 +02:00
AccessControllerStub.ts Split client and server 2017-10-07 00:49:42 +02:00
AuthenticationRegulator.ts Split client and server 2017-10-07 00:49:42 +02:00
IdentityValidator.ts Split client and server 2017-10-07 00:49:42 +02:00
Notifier.ts Split client and server 2017-10-07 00:49:42 +02:00
NotifierStub.ts Refactor endpoints to get server variables as input parameters 2017-10-31 07:26:53 +01:00
RegulatorStub.ts Refactor endpoints to get server variables as input parameters 2017-10-31 07:26:53 +01:00
RequestLoggerStub.ts Disable notifiers when server uses single factor method only 2017-10-31 07:37:15 +01:00
ServerVariablesMockBuilder.ts Use issuer and label when generating otpauthURL for TOTP 2017-10-31 21:36:47 +01:00
TOTPValidator.ts Split client and server 2017-10-07 00:49:42 +02:00
TotpHandlerStub.ts Use issuer and label when generating otpauthURL for TOTP 2017-10-31 21:36:47 +01:00
U2fHandlerStub.ts Refactor endpoints to get server variables as input parameters 2017-10-31 07:26:53 +01:00
express.ts Fix endpoints redirection on errors 2017-11-01 14:46:23 +01:00
ldapjs.ts Split client and server 2017-10-07 00:49:42 +02:00
speakeasy.ts Split client and server 2017-10-07 00:49:42 +02:00
u2f.ts Split client and server 2017-10-07 00:49:42 +02:00