Skip to content

Commit 3ff25f1

Browse files
committed
fix : Make OIDC logout working when end_session_endpoint is present in configuration - MEED-10192 - #4024
Before this fix, when using OIDC, some IDP provide a endsession_endpoint url, to make a logout on the IDP after being loggued out from the SP, and eXo do not use this url This commit ensure to send the user in this url if existing and if property exo.oauth.openid.propagate.logout is set to true To achieve this modification, this commit create a new handler in the platform to manage the logout : LogoutHandler on /portal/logout. The old logout code (UIPortal.LogoutActionListener) is removed Resolves #4024
1 parent 0c5a788 commit 3ff25f1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packaging/plf-packaging-resources/src/main/resources/controller.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5454
</route-param>
5555
</route>
5656

57+
58+
<route path="/logout">
59+
<route-param qname="gtn:handler">
60+
<value>logout</value>
61+
</route-param>
62+
</route>
63+
5764
<route path="/download">
5865
<route-param qname="gtn:handler">
5966
<value>download</value>

0 commit comments

Comments
 (0)