Hi TeamWe are facing the problem with the user credentials clean up, the uses cases are two and are consisten
1. From the Keycloak Web Console, sometime if I remove more that one role at the same time, is happen the credential clean up.
2. After redeploy the server, the credential for some users are being clean up
This is how the user credentials looks after the clean up
"credentials" : [
{
"value" : "ZTA3VTu2d7X6Cl/iSWKjGBGb5bJUFBto1EiOs8AjLj5rIKkMo2Wzymgm8rdPP27LMBBovNw8nxpDvcp4tniCqw=="
}
],
The problem is that after that Keycloak can no do anything with that user because the server start getting NullpointerException
03:36:36,031 ERROR [io.undertow.request] (default task-5) UT005023: Exception handling request to /auth/admin/realms/opencarwash/users/09c74660-902c-441b-8892-f7dd560a7b83/reset-password: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:168)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:411)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:90)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
And on the login page the user see this
"Unexpected error when handling authentication request to identity provider."
could you please help us ?
Thanks