saml: Implement IdP-initated logout for Keycloak.

Fixes #13948.
This commit is contained in:
Mateusz Mandera
2021-10-21 14:16:26 +02:00
committed by Tim Abbott
parent 14b07669cc
commit 4105ccdb17
7 changed files with 332 additions and 17 deletions

View File

@@ -250,6 +250,7 @@ SOCIAL_AUTH_SAML_ENABLED_IDPS: Dict[str, SAMLIdPConfigDict] = {
"test_idp": {
"entity_id": "https://idp.testshib.org/idp/shibboleth",
"url": "https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO",
"slo_url": "https://idp.testshib.org/idp/profile/SAML2/Redirect/Logout",
"x509cert": get_from_file_if_exists("zerver/tests/fixtures/saml/idp.crt"),
"attr_user_permanent_id": "email",
"attr_first_name": "first_name",