diff --git a/authentik/policies/views.py b/authentik/policies/views.py index 96b785afb..ae1c8abfd 100644 --- a/authentik/policies/views.py +++ b/authentik/policies/views.py @@ -117,8 +117,8 @@ class PolicyAccessView(AccessMixin, View): result = policy_engine.result LOGGER.debug( "PolicyAccessView user_has_access", - user=user, - app=self.application, + user=user.username, + app=self.application.slug, result=result, ) if not result.passing: