From 1dd2cb99130d38dcd11f4e28b93c6c1e3d3ed846 Mon Sep 17 00:00:00 2001 From: Reinder Kraaij <kraaij@astron.nl> Date: Tue, 30 Jan 2024 19:42:09 +0100 Subject: [PATCH] Revert Adding the Headers. (Keycloak will fail) --- SAS/TMSS/backend/src/tmss/tmssapp/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/views.py b/SAS/TMSS/backend/src/tmss/tmssapp/views.py index 357074d6f7b..58d7168d1b4 100644 --- a/SAS/TMSS/backend/src/tmss/tmssapp/views.py +++ b/SAS/TMSS/backend/src/tmss/tmssapp/views.py @@ -68,8 +68,6 @@ def revoke_token_deauth(request, *args, **kwargs): return HttpResponse(status=204) @api_view(['GET']) -@authentication_classes([]) -@permission_classes([AllowAny]) def authentication_state(request): if not request.user.is_authenticated: username = request.query_params.get('username', None) -- GitLab