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 54e5be1 commit 4b1c5ccCopy full SHA for 4b1c5cc
1 file changed
README.md
@@ -719,6 +719,15 @@ auth.process_slo(keep_local_session=keepLocalSession);
719
#### Initiate SLO ####
720
721
In order to send a Logout Request to the IdP:
722
+```python
723
+from onelogin.saml2.auth import OneLogin_Saml2_Auth
724
+
725
+req = prepare_request_for_toolkit(request)
726
+auth = OneLogin_Saml2_Auth(req) # Constructor of the SP, loads settings.json
727
+ # and advanced_settings.json
728
729
+auth.logout() # Method that builds and sends the LogoutRequest
730
+```
731
732
The Logout Request will be sent signed or unsigned based on the security info of the advanced_settings.json ('logoutRequestSigned').
733
0 commit comments