Commit Graph

4 Commits (48d6107b0b9e1a028046a230ebfe0e971cbac044)

Author SHA1 Message Date
Clement Michaud 6586402114 Support 'redirect' in /api/verify endpoint to support Traefik
Traefik handles auth forwarding but does not manage redirections like Nginx.
Therefore, Authelia must redirect the user and Traefik will forward this
request.

To support both Nginx and Traefik, /api/verify is now configurable with the
'redirect' get parameter. If the verification fails and 'redirect' is not
provided the response will be a 401 error as before.
If the parameter is provided and set to any URL, the response will be a
redirection (302) to this URL.
2017-12-04 22:52:33 +01:00
Clement Michaud ddf1e48535 Refactor client to make it responsive and testable 2017-06-16 18:16:38 +02:00
Clement Michaud 50bf51aed0 Fix error on identity validation endpoints in documentation 2017-01-29 01:45:12 +01:00
Clement Michaud 2cc854b968 Adding ApiDoc documentation to the repository 2017-01-29 01:33:48 +01:00