From 1eff3d2c8bfc5d31bb84578b76201fb76158bce6 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Fri, 22 Nov 2024 11:34:30 +0100 Subject: [PATCH] fix auth: don't raise Unauthorized --- scopes/server/auth.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scopes/server/auth.py b/scopes/server/auth.py index 7d3dcb2..3a75432 100644 --- a/scopes/server/auth.py +++ b/scopes/server/auth.py @@ -20,8 +20,6 @@ class JwtAuthentication: prc = authenticate(request) if prc is None and self.baseAuth is not None: prc = self.baseAuth.authenticate(request) - if prc is None: - raise Unauthorized return prc def getPrincipal(self, id):