providers/saml: fix metadata URLs using incorrect params

This commit is contained in:
Jens Langhammer 2020-02-18 20:14:28 +01:00
parent 144935d10f
commit 0c2dc309e7
1 changed files with 2 additions and 2 deletions

View File

@ -225,13 +225,13 @@ class DescriptorDownloadView(AccessRequiredView):
slo_url = request.build_absolute_uri(
reverse(
"passbook_providers_saml:saml-logout",
kwargs={"application": provider.application},
kwargs={"application": provider.application.slug},
)
)
sso_url = request.build_absolute_uri(
reverse(
"passbook_providers_saml:saml-login",
kwargs={"application": provider.application},
kwargs={"application": provider.application.slug},
)
)
pubkey = strip_pem_header(provider.signing_cert.replace("\r", "")).replace(