Skip to content

Commit e26b020

Browse files
committed
Fix copy&paste error in documentation
1 parent a2c2a3e commit e26b020

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,7 @@ auth = OneLogin_Saml2_Auth(req) # Initialize the SP SAML instance
626626
if 'sso' in request.args: # SSO action (SP-SSO initited). Will send an AuthNRequest to the IdP
627627
return redirect(auth.login())
628628
elif 'sso2' in request.args: # Another SSO init action
629-
$returnTo = $spBaseUrl.'/demo1/attrs.php'; # but set a custom RelayState URL
630-
return_to = '%sattrs/' % request.host_url
629+
return_to = '%sattrs/' % request.host_url # but set a custom RelayState URL
631630
return redirect(auth.login(return_to))
632631
elif 'slo' in request.args: # SLO action. Will sent a Logout Request to IdP
633632
return redirect(auth.logout())

0 commit comments

Comments
 (0)