ERPNext sso problem

Hello! Could you please advise on how to solve an issue in ERPNext 15? I’m setting up integration with SSO Keycloak. Logging in through SSO works, but when the user logs out of ERPNext, the session in SSO isn’t terminated because ERPNext doesn’t pass information to SSO that the user has ended the session. How can this be configured in ERPNext?