fix slash

This commit is contained in:
Cayo Puigdefabregas 2023-11-29 12:37:17 +01:00
parent adfc4df13d
commit a1700a9d6e

View file

@ -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