<div dir="ltr">I&#39;m not quite following, but I tried the following:<div><br></div><div># Open <a href="http://localhost:8080/auth/admin/master/console/#/realms/master/clients">http://localhost:8080/auth/admin/master/console/#/realms/master/clients</a><br></div><div># Logout</div><div># Add terms and condition required action to user</div><div># Login</div><div># Decline terms and condition</div><div># Routed back to login page as admin console requires authenticated user</div><div># Login</div><div># I&#39;m now on #/realms/master/clients, so the fragment doesn&#39;t seem to be lost as part of rejecting terms and conditions</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 March 2016 at 13:19, Adrian Matei <span dir="ltr">&lt;<a href="mailto:adrianmatei@gmail.com" target="_blank">adrianmatei@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<div><br></div><div>Has any of you experienced the following behavior:</div><div>we have an AngularJS app with some of its resources protected by Keycloak - setup:</div><div><div>var auth = {};</div><div>angular.element(document).ready(function () {</div><div>    var env = &#39;keycloak&#39;;</div><div>    var keycloakAuth = new Keycloak(env + &#39;.json&#39;);</div><div>    keycloakAuth.init({onLoad: &#39;check-sso&#39;})</div><div>        .success(function () {</div><div>        auth.authz = keycloakAuth;</div><div>        module.factory(&#39;Auth&#39;, function() {</div><div>            return auth;</div><div>        });</div><div>        angular.bootstrap(document, [&quot;client_id&quot;]);</div><div>    }).error(function () {</div><div><br></div><div>    });</div><div>});</div></div><div><br></div><div>Everything works as expected, except that in the registration process if the user does NOT accept the &quot;Terms and Conditions&quot; the page where it came from, present in the redirect_fragment is not rendered - but it is being rendered when I refresh the page as expected...</div><div><br></div><div>Thanks,</div><div>Adrian  </div></div>
<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>