Thomas Gerbet (tgerbet)2022-09-09 14:59 gerrit #26689 integrated into Tuleap 13.12.99.120. Connected artifacts Added Fixed in: rel #26815
Tracker Workflow Manager (forge__tracker_workflow_manager)2022-09-09 14:58 Closed by @vaceletm with git #tuleap/stable/9518dbea34276e32ebe0918018413ea9ec670ea8. Status changed from Under review to ClosedClose date set to 2022-09-09
Manuel Vacelet (vaceletm)2022-09-09 11:11 gerrit #26689 should close the last use case (one user unlog everywhere) Status changed from New to Under review
Dejan Savuljesku (dsavuljesku)2022-07-28 14:21 Should be fixed with this commit https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TuleapWikiFarm/+/818109 Issue was in passing user param to the script when running for all
Manuel Vacelet (vaceletm)2022-07-27 15:06 gerrit #26429 (Users removed from the project members are logs out from the MW instance) integrated in Tuleap 13.11.99.26
Thomas Gerbet (tgerbet)2022-07-27 10:37 I just tried to do the implementation but I was unable to make it work for a specific user on all instances, when I call /mediawiki/w/rest.php/tuleap/maintenance/*/terminate-sessions all users are log out even if ask for a specific user. It works fine when I specify an explicit instance name.
Thomas Gerbet (tgerbet)2022-07-01 15:15 Sorry, i just now saw your comment, after implementation. For now i did the easy change, of just specifying the username and using the normal MW mechanism. Since it is almost already there, we will use that. We could still move to something else later on if necessary.
Manuel Vacelet (vaceletm)2022-07-01 11:23 gerrit #26273 (Extract common part of OIDC token generation) integrated in Tuleap 13.10.99.50
Dejan Savuljesku (dsavuljesku)2022-06-30 15:02 Sorry, i just now saw your comment, after implementation. For now i did the easy change, of just specifying the username and using the normal MW mechanism. Example: to terminate all sessions for user Testuser, call curl -X POST -k -H 'Content-Type: application/json' -i 'https://tuleap.com/mediawiki/w/rest.php/tuleap/maintenance/*/terminate-sessions' --data '{ "user": "Testuser" }' Change https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TuleapWikiFarm/+/809985
Thomas Gerbet (tgerbet)2022-06-30 10:20 For this one, if that's okay for you, I suggest we go with the standard/generic OIDC way and use the OIDC Back-Channel Logout. On the Tuleap side it involves sending a specific payload to an endpoint exposed by MediaWiki. MediaWiki would have to validate the logout token to revoke the sessions of a user. To drop access on a specific instance we can add an additional claim with the project ID or shortname. I would prefer using this generic OIDC possibility instead of a specific endpoint like the one we have with tuleap/maintenance/:instance_name/terminate-sessions because it could be re-used outside the specific MW implementation and this way it will get more testing.