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?

I am having the same issue.

There is prompt=login as query param to Authorization endpoint. Try that.

Set that in Auth URL Data

e.g

{"scope":"openid email roles profile","response_type":"code","prompt":"login"}