From 146dd747f1855b8e1cfdd9a38c9cf75bb9475824 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 17 Apr 2019 17:52:24 +0200 Subject: [PATCH] fix EntityID being None in SAML Metadata --- passbook/saml_idp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/saml_idp/views.py b/passbook/saml_idp/views.py index e9a004208..069edc8fc 100644 --- a/passbook/saml_idp/views.py +++ b/passbook/saml_idp/views.py @@ -205,7 +205,7 @@ class DescriptorDownloadView(AccessRequiredView): def get(self, request, application): """Replies with the XML Metadata IDSSODescriptor.""" - entity_id = CONFIG.y('saml_idp.issuer') + entity_id = self.application.provider.issuer slo_url = request.build_absolute_uri(reverse('passbook_saml_idp:saml-logout', kwargs={ 'application': application }))