<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 May 2016 at 16:29, Tech @ PSYND <span dir="ltr">&lt;<a href="mailto:tech@psynd.net" target="_blank">tech@psynd.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear experts,<br>
<br>
I&#39;m working with keycloak 1.9.4.<br>
<br>
We ran some customization with the Authenticators: we implemented a<br>
couple of authenticators in sequence, like provide an OTP token, provide<br>
an additional information etc.<br>
<br>
We are facing several issues:<br>
1) we create our custom Flow from the Authentication interface<br>
2) we add our 4 form (Add Execution)<br>
3) from the Flows Module we select the order in which they should be<br>
selected<br>
4) we define in the binding sour flow as Browser Flow<br>
5) we register and enable our executions from the Required Actions<br>
module.<br>
<br>
<br>
About point 3): even if we change the order of the flows using the<br>
priorities arrows, the forms doesn&#39;t show up in order.<br>
<br>
We tried to delete and to re-create, but we don&#39;t understand if we<br>
should do something else to impose the order we need.<br></blockquote><div><br></div><div>The arrows should change the order</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
After creation, we decided to remove each single &quot;Execution&quot; and then<br>
remove the flow.<br>
<br>
We set again the &quot;Browser Flow&quot; to the standard &quot;Browser&quot;, we removed<br>
the created jars from the provider/ directory, but every time that we<br>
try to authenticate we get an error saying that there is still an<br>
existing reference to the old deployment, although the provider/<br>
directory is currently empty.<br>
<br>
<br>
<br>
<br>
16:00:40,199 ERROR [io.undertow.request] (default task-4) UT005023:<br>
Exception handling request to<br>
/auth/realms/etatvs/login-actions/required-action:<br>
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException:<br>
Unable to find factory for Required Action: renew_password_config did<br>
you forget to declare it in a META-INF/services file?<br>
        at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
         at<br>
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)<br>
         at<br>
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)<br>
         at<br>
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br>
         at<br>
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)<br>
         at<br>
io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)<br>
         at<br>
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)<br>
Caused by: java.lang.RuntimeException: Unable to find factory for<br>
Required Action: renew_password_config did you forget to declare it in a<br>
META-INF/services file?<br>
         at<br>
org.keycloak.services.managers.AuthenticationManager.executionActions(AuthenticationManager.java:569)<br>
         at<br>
org.keycloak.services.managers.AuthenticationManager.actionRequired(AuthenticationManager.java:504)<br>
         at<br>
org.keycloak.services.managers.AuthenticationManager.nextActionAfterAuthentication(AuthenticationManager.java:426)<br>
         at<br>
org.keycloak.services.resources.LoginActionsService$Checks.verifyRequiredAction(LoginActionsService.java:302)<br>
         at<br>
org.keycloak.services.resources.LoginActionsService.processRequireAction(LoginActionsService.java:856)<br></blockquote><div><br></div><div>That&#39;s a required action that&#39;s missing &quot;renew_password_config&quot;. Maybe a user that has had the action associated with it? Try checking the user through the admin console and see what required actions it has? Or maybe you&#39;ve configured required actions as well as authenticators?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
<br>
Could you support?<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div></div>