From adfc4df13d868f7906e6065d1b51e13b00f3dde7 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 29 Nov 2023 12:33:55 +0100 Subject: [PATCH] fix not validate --- oidc4vp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc4vp/views.py b/oidc4vp/views.py index 8ad53a4..8abbf66 100644 --- a/oidc4vp/views.py +++ b/oidc4vp/views.py @@ -25,7 +25,7 @@ class VerifyView(View): def get(self, request, *args, **kwargs): org = self.validate(request) if not org: - return Http404("Organization not found!") + raise Http404("Organization not found!") presentation_definition = json.dumps(settings.SUPPORTED_CREDENTIALS) authorization = Authorization( organization=org,