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 a2c2a3e commit e26b020Copy full SHA for e26b020
1 file changed
README.md
@@ -626,8 +626,7 @@ auth = OneLogin_Saml2_Auth(req) # Initialize the SP SAML instance
626
if 'sso' in request.args: # SSO action (SP-SSO initited). Will send an AuthNRequest to the IdP
627
return redirect(auth.login())
628
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
+ return_to = '%sattrs/' % request.host_url # but set a custom RelayState URL
631
return redirect(auth.login(return_to))
632
elif 'slo' in request.args: # SLO action. Will sent a Logout Request to IdP
633
return redirect(auth.logout())
0 commit comments