It should just work, so long as you have configured SingleLogoutService
endpoints for the SPs. Also, you do not mention that you log in on any
of the SPs before you start logout on the IdP? It will only send logout
requests to the SPs that it has a session with.
It will only send logout requests to the SPs that it has a session with.
Logout request or authentication request?
Have you looked at the simpleSAMLphp log? It is logged to syslog by
default.
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To post to this group, send email to simple...@googlegroups.com.
To unsubscribe from this group, send email to simplesamlph...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simplesamlphp?hl=en.
object(SimpleSAML_Session)[14]
private 'sessionId' => string 'd8d67c071baada555' (length=32)
private 'trackid' => string '267a841' (length=10)
private 'idp' => null
private 'authenticated' => null
private 'attributes' => null
private 'sessionindex' => null
private 'nameid' => null
private 'authority' => string 'custom-auth' (length=16)
private 'sessionstarted' => null
private 'sessionduration' => null
private 'dirty' => boolean true
private 'logout_handlers' =>
array
empty
private 'dataStore' =>
array
'core:idp-ssotime' =>
array
'saml2:dev;sp_dev' =>
array
...
private 'sessionNameId' => null
private 'logoutState' => null
private 'authState' => null
private 'associations' =>
array
'saml2:dev' =>
array
'saml: sp_dev' =>
array
...
private 'authToken' => string '9b29dade0c' (length=43)
private 'authData' =>
array
'example-external' =>
array
'Attributes' =>
array
...
'AuthnInstant' => int 1339708075
'Expire' => int 1339747675
So, when the IdP initially posts a SAML response the SP is added to the association. Right after I send the response when if I do a var_dump of session in addAssociation I saw the data above related to SP
When I hit the logout url though i cannot find the place in the code where it uses the session to logout of the SP.
Backtrace: 1 /home/bin/p/sso/1.7/www/_include.php:37 (SimpleSAML_exception_handler) 0 [builtin] (N/A) Caused by: Exception: Unable to find the current binding. Backtrace: 2 /home//bin/p/sso/1.7/lib/SAML2/Binding.php:80 (SAML2_Binding::getCurrentBinding) 1 /home//bin/p/sso/1.7/modules/saml/lib/IdP/SAML2.php:335 (sspmod_saml_IdP_SAML2::receiveLogoutMessage) 0 /home//bin/p/sso/1.7/www/saml2/idp/S
Could this have something to do with not being able to logout of SPs that are in "associations"?
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simplesamlphp/-/F27Ps-CZm-IJ.
No, this is simply your IdP complaining that it received an invalid
request. If you call SingleLogoutService without either a SAML 2.0
LogoutRequest, a SAML 2.0 LogoutResponse or a ReturnTo parameter
(indicating IdP-initiated logout), the IdP does not know what to do
with the request, and produces that error.
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
Jun 25 19:33:58 SSO DEBUG [8eb661c3de] Session: doLogin("example-ext")
Jun 25 19:33:58 SSO DEBUG [8eb661c3de] Session: Valid session found with 'example-ext'.
Jun 25 19:33:58 SSO DEBUG [8eb661c3de] Session: Valid session found with 'example-ext'.
Jun 25 19:33:58 SSO DEBUG [8eb661c3de] Filter config for dev->dev: array ( 0 => sspmod_core_Auth_Process_LanguageAdaptor::__set_state(array( 'langattr' => 'preferredLanguage', 'priority' => 30, )), 1 => sspmod_core_Auth_Process_StatisticsWithAttribute::__set_state(array( 'attribute' => 'realm', 'typeTag' => 'saml20-idp-SSO', 'priority' => 45, )), 2 => sspmod_core_Auth_Process_AttributeLimit::__set_state(array( 'allowedAttributes' => array ( ), 'isDefault' => false, 'priority' => 50, )), 3 => sspmod_core_Auth_Process_UserAdd::__set_state(array( 'replace' => false, 'attributes' => array ( ), 'priority' => 62, )), 4 => sspmod_core_Auth_Process_LanguageAdaptor::__set_state(array( 'langattr' => 'preferredLanguage', 'priority' => 99, )),)
Jun 25 19:33:58 SSO NOTICE STAT [8eb661c3de] saml20-idp-SSO-first dev dev NA
Jun 25 19:33:58 SSO NOTICE STAT [8eb661c3de] saml20-idp-SSO dev dev NA
Jun 25 19:33:59 SSO INFO [8eb661c3de] Sending SAML 2.0 Response to 'dev'
ON LOGOUT
Saved state: '_7f0f44348b2f528996d2acfcbd77f'
Jun 25 19:55:41 SSO DEBUG [8eb661c3de] Session: doLogout('example-ext')
I had a similar problem to this due to PHP session cookie names. If you're using a custom login, make sure your session.phpsession.cookiename (in conf/config.php) matches what your custom login is using, otherwise it will appear as though it can't find the SP association(s) because, well, it can't.-Tim
To unsubscribe from this group, send email to simplesamlphp+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simplesamlphp/-/AL4wrdC-FikJ.
To unsubscribe from this group, send email to simplesamlph...@googlegroups.com.
To unsubscribe from this group, send email to simplesamlphp+unsubscribe@googlegroups.com.