fix EntityID being None in SAML Metadata

This commit is contained in:
Jens Langhammer 2019-04-17 17:52:24 +02:00
parent f2ce56063b
commit 146dd747f1
1 changed files with 1 additions and 1 deletions

View File

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