From a1700a9d6eda519f3f59806d1b6d589d6bdeeebc Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 29 Nov 2023 12:37:17 +0100 Subject: [PATCH] fix slash --- oidc4vp/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc4vp/models.py b/oidc4vp/models.py index f004494..ee4e44a 100644 --- a/oidc4vp/models.py +++ b/oidc4vp/models.py @@ -133,7 +133,7 @@ class Authorization(models.Model): query_dict.update(data) url = '{response_uri}/authorize?{params}'.format( - response_uri=self.organization.response_uri, + response_uri=self.organization.response_uri.strip("/"), params=query_dict.urlencode() ) return url