How to change logout link in camunda using spring boot

I am currently using the SSO kubernetes spring boot example to connect camunda to my keycloak instance. Login and user syncronization works like a charm, but the logout redirection link when hitting to logout button of camunda is not as I expcect it to be. Can you tell my why that link is used by the camunda frontend and how to change that to the expected one?

Link to sample repository: https://github.com/camunda/camunda-bpm-identity-keycloak/tree/master/examples/sso-kubernetes

Link provided by camunda: localhost:8080/api/admin/auth/user/default/logout
Link expected by me according to login link: https://mykeycloakInstance/auth/realms/myRealm/protocol/openid-connect/logout

Can’t you just configure the http security in a way that any URL ending with “logout” is interpreted as a logout?