<div dir="ltr">I have an authenticator where I have the following method:<div><br></div><div><div><div>public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) {</div><div>        user.addRequiredAction(NewRequiredAction.PROVIDER_ID);</div><div>}</div></div></div><div><br></div><div>Is this method invoked automatically by keycloak when authentication is performed or we need to explicitly call this when we want to add the RequiredAction? For me, it is not being invoked automatically by keycloak which I first thought was the case. Could you please explain this in more detail on how this exactly works?<br></div></div>