From a54a59a08d36c36bf007fc2ea0c47672e69d4568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Tue, 28 Oct 2014 19:02:56 +0100 Subject: [PATCH] mandaye_cud: fix slo initiated by idp --- conf.d/arcopole | 4 +++- mandaye_cud/mappers/arcopole.py | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/conf.d/arcopole b/conf.d/arcopole index 3c27cbf..e3c82fa 100644 --- a/conf.d/arcopole +++ b/conf.d/arcopole @@ -8,5 +8,7 @@ "saml2_idp_metadata": "http://authentic.local/idp/saml2/metadata", "saml2_signature_public_key": "certs/saml.crt", "saml2_signature_private_key": "certs/saml.key", - "saml2_single_logout_return_url": "/studio/singlelogoutreturn" + "saml2_single_logout_url": "/studio/mandaye_singlelogout", + "saml2_single_logout_return_url": "/studio/mandaye_singlelogoutreturn", + "cookies_path": "/studio" } diff --git a/mandaye_cud/mappers/arcopole.py b/mandaye_cud/mappers/arcopole.py index e4c8303..32ac6af 100644 --- a/mandaye_cud/mappers/arcopole.py +++ b/mandaye_cud/mappers/arcopole.py @@ -122,7 +122,14 @@ mapping = [ } }, { - 'path': r'/studio/singlelogoutreturn$', + 'path': r'/studio/mandaye_singlelogout$', + 'method': 'GET', + 'response': { + 'auth': 'single_logout', + } + }, + { + 'path': r'/studio/mandaye_singlelogoutreturn$', 'method': 'GET', 'response': { 'auth': 'single_logout_return',