This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/policies/reputation
Jens Langhammer 2b1356bb91 flows: add invalid_response_action to configure how the FlowExecutor should handle invalid responses
closes #1079

Default value of `retry` behaves like previous version.

`restart` and `restart_with_context` restart the flow upon an invalid response. `restart_with_context` keeps the same context of the Flow, allowing users to bind policies that maybe aren't valid on the first execution, but are after a retry, like a reputation policy with a deny stage.

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-28 00:22:09 +02:00
..
migrations policies/reputation: save username instead of user object 2021-05-29 22:49:58 +02:00
__init__.py wip: rename to authentik (#361) 2020-12-05 22:08:42 +01:00
api.py API: add endpoint to show by what objects an object is used (#995) 2021-06-10 11:58:12 +02:00
apps.py wip: rename to authentik (#361) 2020-12-05 22:08:42 +01:00
models.py flows: add invalid_response_action to configure how the FlowExecutor should handle invalid responses 2021-06-28 00:22:09 +02:00
settings.py wip: rename to authentik (#361) 2020-12-05 22:08:42 +01:00
signals.py root: make general cache timeouts configurable 2021-06-21 10:18:49 +02:00
tasks.py policies/reputation: fix tests 2021-05-29 23:46:13 +02:00
tests.py policies/reputation: fix race condition in tests 2021-06-14 20:40:40 +02:00