We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1ddab commit ee8b5d7Copy full SHA for ee8b5d7
src/onelogin/saml2/settings.py
@@ -534,8 +534,9 @@ def get_idp_slo_response_url(self):
534
:returns: an URL, the SLO return endpoint of the IdP
535
:rtype: string
536
"""
537
- slo_data = self.get_idp_data()['singleLogoutService']
538
- return slo_data.get('responseUrl', self.get_idp_slo_url())
+ idp_data = self.get_idp_data()
+ if 'url' in idp_data['singleLogoutService']:
539
+ return idp_data['singleLogoutService'].get('responseUrl', self.get_idp_slo_url())
540
541
def get_sp_key(self):
542
0 commit comments