From b9c7ecd2a7f6ac28e83de8847cb98390517fd278 Mon Sep 17 00:00:00 2001 From: Salvatore Laiso Date: Fri, 21 Jul 2023 10:02:41 +0200 Subject: [PATCH] Set status as int --- pyeudiw/satosa/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyeudiw/satosa/backend.py b/pyeudiw/satosa/backend.py index e38371bc..90940078 100644 --- a/pyeudiw/satosa/backend.py +++ b/pyeudiw/satosa/backend.py @@ -181,7 +181,7 @@ def handle_error( result = json.dumps( {"message": message, "troubleshoot": troubleshoot} ) - return Response(result, content="text/json; charset=utf8", status="403 Forbidden") + return Response(result, content="text/json; charset=utf8", status=403) def authn_response(self, context, binding): """