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): """