Hi,
I need to customize logout for xwiki.
We have a keycloak server to manage authorization and I logout from xwiki I should call a specific URL like
http://login.mydomain.com/auth/realms/myrealm/protocol/openid-connect/logout
Xwiki file drawer.vm has a specific line to logout:
<a href=“$xwiki.getURL(‘XWiki.XWikiLogout’, ‘logout’, “xredirect=$escapetool.url($xwiki.relativeRequestURL)”)” id=“tmLogout”>$services.icon.renderHTML(‘log-out’) $escapetool.xml($services.localization.render(‘logout’))
It’s not clear to me how to customize it using variables shown above - if it’s possible (in xwiki.cfg/properties there’s no reference to them).
Do you have something to suggest, please?
Thank you in advance.
Nicola