Thank you for the prompt response Stian.
> adding an eviction policy to the realmVersions cache.
This was my impression after reading the ticket too, but I was not sure, because according pull request looks a little bit more complicated.
We will give a try to this Keycloak setting in the production environment tomorrow.
We are going to enable Infinispan statistics additionally to get more information.
> Is there any errors in the logs?
We could identify only errors duiring the service logout until now:
Stack Trace:
org.keycloak.adapters.ServerRequest.error(ServerRequest.java:228)
org.keycloak.adapters.ServerRequest.invokeLogout(ServerRequest.java:82)
com.nhp.ts.b2b.services.auth.KcAdminServiceBean.serviceAccountLogout(KcAdminServiceBean.java:330)
com.nhp.ts.b2b.services.auth.KcAdminServiceBean.executeAPIpostMethod(KcAdminServiceBean.java:545)
sun.reflect.GeneratedMethodAccessor10512.invoke(Unknown Source)
...
> What is the status code returned with the empty page?
Our web application unfortunately does not log status code and error message. Exception message is null in case of service account logout. We will roll out a fix for this with the next web application release on Thursday this week.
Additionally we are going to switch from the OIDC logout endpint method to the ServletRequest.logout() method because it seems to be a more consistent way for a web application which is already protected by Keycloak EAP 6 adapters, isn't it?
Additional details about the experienced behaviour: the empty page is our web application internal page. In Google Chrome webbrowser I see for example that the initiator of the last POST request to this internal page was
www.googletagmanager.com/gtm.js?id=... Could be this a problem?
If I refresh this empty page, I'm back in the web application (still logged in).
But if I call OCID logout endpoint (/realms/${realm}/protocol/openid-connect/logout) in the same browser myself and then refresh the empty page, then I'm redirected to the KC login screen.
Any ideas?
Apart from that I hope that we will get more information after the release on Thursday.