From 8ff97c898c3e3c5502076ebdda8231c35c5c9583 Mon Sep 17 00:00:00 2001 From: EwoutV Date: Tue, 12 Mar 2024 18:35:13 +0100 Subject: [PATCH] feat: give CAS attributes in debug mode --- backend/authentication/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/authentication/serializers.py b/backend/authentication/serializers.py index 7c4f1d92..3005d86f 100644 --- a/backend/authentication/serializers.py +++ b/backend/authentication/serializers.py @@ -48,6 +48,7 @@ def validate(self, data): # Return access tokens for the now logged-in user. return { + "attributes": attributes, "access": str(AccessToken.for_user(user)), "refresh": str(RefreshToken.for_user(user)), }