Hello,
We are using Shibboleth plugin in a sso environnement where web site are used in public labs so logout need to be handled appropriately!
While doing the basic scenario I have noticed that the logout is handled correctly if we logout from Wordpress but not if we are login out from another site.
I checked the status (in shibboleth_auto_login if i remember well) and it seem that the shibboleth session is detected as inactive but the Wordpress session is still on.
I'm not fully knowledgeable of Worpress or even Shibboleth but from what I understand so far, I would need to handle it myself (could be shibboleth_auto_login_logout?).
Handling it on reload would not be too hard but I guess I would have to install the handler higher up (init like shibboleth_auto_login?) to make sure to block any ajax call (but then I would have to know how those blocked ajax will behave from a user standpoint).
Handling a window left opened would require more work and there would be some type of polling required (I will have to check if Wordpress already offer the insfrastructure for that, I would guess so).
Anyone have tought already about this issue? Would it be considered out of scope of the plugin? (from a coding standpoint, it would surely make more sense to implement this in the plugin as the required call (shibboleth_session_active()) are defined there.
I will find a solution anyway as it's a requirement for our projet but I will gladly take any pointer if it could help me build something that could be shared.
ps : While implementing a first proof of concept I realised that I will have to read the meta_data to know it's a shibboleth provisionned acccount so as not to logout any user that would have been created out of the shibboleth flow.
Hello,
We are using Shibboleth plugin in a sso environnement where web site are used in public labs so logout need to be handled appropriately!
While doing the basic scenario I have noticed that the logout is handled correctly if we logout from Wordpress but not if we are login out from another site.
I checked the status (in shibboleth_auto_login if i remember well) and it seem that the shibboleth session is detected as inactive but the Wordpress session is still on.
I'm not fully knowledgeable of Worpress or even Shibboleth but from what I understand so far, I would need to handle it myself (could be shibboleth_auto_login_logout?).
Handling it on reload would not be too hard but I guess I would have to install the handler higher up (init like shibboleth_auto_login?) to make sure to block any ajax call (but then I would have to know how those blocked ajax will behave from a user standpoint).
Handling a window left opened would require more work and there would be some type of polling required (I will have to check if Wordpress already offer the insfrastructure for that, I would guess so).
Anyone have tought already about this issue? Would it be considered out of scope of the plugin? (from a coding standpoint, it would surely make more sense to implement this in the plugin as the required call (shibboleth_session_active()) are defined there.
I will find a solution anyway as it's a requirement for our projet but I will gladly take any pointer if it could help me build something that could be shared.
ps : While implementing a first proof of concept I realised that I will have to read the meta_data to know it's a shibboleth provisionned acccount so as not to logout any user that would have been created out of the shibboleth flow.