<div dir="ltr">I'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'm now on #/realms/master/clients, so the fragment doesn'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"><<a href="mailto:adrianmatei@gmail.com" target="_blank">adrianmatei@gmail.com</a>></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 = 'keycloak';</div><div> var keycloakAuth = new Keycloak(env + '.json');</div><div> keycloakAuth.init({onLoad: 'check-sso'})</div><div> .success(function () {</div><div> auth.authz = keycloakAuth;</div><div> module.factory('Auth', function() {</div><div> return auth;</div><div> });</div><div> angular.bootstrap(document, ["client_id"]);</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 "Terms and Conditions" 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>