diff --git a/authentik/lib/expression/evaluator.py b/authentik/lib/expression/evaluator.py index 7a7f07022..02970c242 100644 --- a/authentik/lib/expression/evaluator.py +++ b/authentik/lib/expression/evaluator.py @@ -154,7 +154,7 @@ class BaseEvaluator: if "request" in context and isinstance(context["request"], PolicyRequest): policy_request: PolicyRequest = context["request"] if policy_request.http_request: - event.from_http(policy_request) + event.from_http(policy_request.http_request) return event.save()