Skip to content

Commit b7402c0

Browse files
committed
correct typo
1 parent 082dfc7 commit b7402c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ This is the ``settings.json`` file:
306306
"url": "https://app.onelogin.com/trust/saml2/http-redirect/slo/<onelogin_connector_id>",
307307
// URL Location where the <Response> from the SP will returned (after IdP-initiated logout)
308308
// OPTIONAL: only specify if different from url parameter
309-
"returnUrl": "<idp-domain>/slo_return/"
309+
"returnUrl": "https://app.onelogin.com/trust/saml2/http-redirect/slo_return/<onelogin_connector_id>"
310310
// SAML protocol binding to be used when returning the <Response>
311311
// message. OneLogin Toolkit supports the HTTP-Redirect binding
312312
// only for this endpoint.

src/onelogin/saml2/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def get_return_slo_url(self):
475475
:returns: an URL, the SLO return endpoint of the IdP
476476
:rtype: string
477477
"""
478-
slo_data = self.__settings.get_idp_data()['singeLogoutService']
478+
slo_data = self.__settings.get_idp_data()['singleLogoutService']
479479
return slo_data.get('returnUrl', self.get_slo_url())
480480

481481
def add_request_signature(self, request_data, sign_algorithm=OneLogin_Saml2_Constants.RSA_SHA1):

src/onelogin/saml2/logout_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def build(self, in_response_to):
162162

163163
uid = OneLogin_Saml2_Utils.generate_unique_id()
164164
issue_instant = OneLogin_Saml2_Utils.parse_time_to_SAML(OneLogin_Saml2_Utils.now())
165-
destination = idp_data['singeLogoutService'].get('returnUrl', idp_data['singeLogoutService']['url'])
165+
destination = idp_data['singleLogoutService'].get('returnUrl', idp_data['singleLogoutService']['url'])
166166

167167
logout_response = OneLogin_Saml2_Templates.LOGOUT_RESPONSE % \
168168
{

0 commit comments

Comments
 (0)