[keycloak-user] Keycloak user credentials clean up

Thomas Darimont thomas.darimont at googlemail.com
Thu Sep 15 04:58:43 EDT 2016


Which Keycloak version are you using?

2016-09-15 6:55 GMT+02:00 Francisco Montada <fmontadamt at gmail.com>:

> Hi Team
> We 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/iSWKjGBGb5bJUF
> Bto1EiOs8AjLj5rIKkMo2Wzymgm8rdPP27LMBBovNw8nxpDvcp4tniCqw=="
>         }
>     ],
>
> 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.handleApplicationEx
> ception(ExceptionHandler.java:76)
> at org.jboss.resteasy.core.ExceptionHandler.handleException(Exc
> eptionHandler.java:212)
> at org.jboss.resteasy.core.SynchronousDispatcher.writeException
> (SynchronousDispatcher.java:168)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(Synchro
> nousDispatcher.java:411)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(Synchro
> nousDispatcher.java:202)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDi
> spatcher.service(ServletContainerDispatcher.java:221)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatc
> her.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatc
> her.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(Se
> rvletHandler.java:85)
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.d
> oFilter(FilterHandler.java:129)
> at org.keycloak.services.filters.KeycloakSessionServletFilter.d
> oFilter(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
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160915/a0fe576b/attachment.html 


More information about the keycloak-user mailing list