-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for SLO #29
Conversation
- replacement of deprecated PHPUnit_Framework_TestCase::getMock with ::getMockBuilder
Logout support
Generalize logout response
$sessions = $this->ssoStateStore->get()->getSsoSessions(); | ||
|
||
if (count($sessions) === 0) { | ||
return $this->createLogoutResponse(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is called when there's no incoming message - thus IDP didn't sent a LogoutRequest
. But, here, in case there are no sso sessions in store, we're making LogoutResponse
that will get rejected by IDP. Isn't an exception better suited?
TM-2240: Dynamic entity id
Is there any progress on this? Thanks. |
* introduce default and idpdata metadata providers * introduce domain resolver api * bump required sf to min 2.4 * remove security bundle * remove prefer lowest suite from build * add bundle configuration for enabling idp data metadata provider * default and idp data metadata providers tests * bundle configuration tests * readme update * extension tests * use camelCase in tests methods * http api tests * restore default controller metadata action, remove default metadata provider and metadata provider factory * add idp data descriptor store service if idp data metadata provider enabled * introduce idp data entity descriptor store * fix definitions * fix tests * entity descriptor store, http api tests * remove unnecessary dependencies * test fix * restore http mock version * stores unit tests * phpcs * functional tests when idp-data enabled * fix tests * review improvements * test naming * exception naming
* injected IdpDataCredentialStore * return organisation field instead of whole array * refactored CompositeCredentialStore and added const to Apis * add missing X509CertificateIdpDataTest and HttpApiTest missing methods * store unit tests
…-change PPCDEV-6258 allow to enable idp-data with int
* PPCDEV-6430 - Sign Logout SAML Messages by default Many Identity Providers using SingleLogout requires that e.g LogoutRequest is signed - since that change don't affect logout requests without verification it's safe to make it a default behavior.
Opening PR from a fork that was mentioned to have SLO support implemented.
@tmilos can you review and maybe merge it?