From 2a164b3d8de5c6da4b7f159d5d9f1d66a359a6dd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 20 Dec 2011 15:41:11 +0100 Subject: [PATCH] redirect to SAML logout --- C4/Auth.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 77b5364c31..85f06765c3 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -799,7 +799,12 @@ sub checkauth { $sessionID = undef; $userid = undef; - print $query->redirect('http://' . $query->virtual_host); + # http://groups.google.com/group/simplesamlphp/browse_thread/thread/a1603f9cff5007e1/bfc487ee88981ac0 + print $query->redirect('/simplesaml/saml2/sp/initSLO.php?RelayState=https://lib.fer.hr'); + +# print $query->redirect('/simplesaml/module.php/core/as_logout.php?AuthId=default-sp&ReturnTo=http://lib.fer.hr'); + +# print $query->redirect('http://' . $query->virtual_host); exit; if ($cas and $caslogout) { -- 2.20.1