diff --git a/authentik/events/utils.py b/authentik/events/utils.py index 32c3b4466..1d2ebf284 100644 --- a/authentik/events/utils.py +++ b/authentik/events/utils.py @@ -93,6 +93,8 @@ def sanitize_dict(source: dict[Any, Any]) -> dict[Any, Any]: final_dict[key] = value.hex elif isinstance(value, (HttpRequest, WSGIRequest)): continue + elif isinstance(value, type): + final_dict[key] = value.__module__ + "." + value.__name__ else: final_dict[key] = value return final_dict