authelia/server/test
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
..
access_control Adapt ACL configuration to make it more flexible 2017-10-08 15:34:58 +02:00
authentication Disable notifiers when server uses single factor method only 2017-10-31 07:37:15 +01:00
configuration Disable notifiers when server uses single factor method only 2017-10-31 07:37:15 +01:00
connectors/mongo Split client and server 2017-10-07 00:49:42 +02:00
ldap Strengthen password in LDAP using SHA512 crypt algorithm 2017-10-31 07:27:36 +01:00
mocks Fix endpoints redirection on errors 2017-11-01 14:46:23 +01:00
notifiers Less restrictive email handler - replace gmail with generic 2017-10-25 19:28:56 +11:00
regulation Refactor endpoints to get server variables as input parameters 2017-10-31 07:26:53 +01:00
routes Fix endpoints redirection on errors 2017-11-01 14:46:23 +01:00
storage Check TOTP token with window of 1 2017-10-15 00:44:10 +02:00
utils Strengthen password in LDAP using SHA512 crypt algorithm 2017-10-31 07:27:36 +01:00
IdentityCheckMiddleware.test.ts Fix endpoints redirection on errors 2017-11-01 14:46:23 +01:00
requests.ts Improve logging format for clarity 2017-10-08 22:33:50 +02:00
ServerConfiguration.test.ts Strengthen password in LDAP using SHA512 crypt algorithm 2017-10-31 07:27:36 +01:00
SessionConfigurationBuilder.test.ts Use issuer and label when generating otpauthURL for TOTP 2017-10-31 21:36:47 +01:00