<div dir="ltr">I was able to solve this issue by not bootstrapping the Angular app using the ng-app directive on the html tag but using the manual command that you have in app.js (i.e. angular.bootstrap(document, ["product"]); <div><br></div><div>I think previously my app was getting loaded before the Auth provider is created and that was causing issues and now with this change, everything works fine.</div><div><br></div><div>Hope if someone else has this issue it will be of use.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 5:20 PM, Stian Thorgersen <span dir="ltr"><<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you can extend angular-product-app to make the issues happen there, or point me to an app where it does, I'll fix it.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> From: "Travis De Silva" <<a href="mailto:traviskds@gmail.com">traviskds@gmail.com</a>><br>
> To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Tuesday, 7 October, 2014 2:18:41 AM<br>
> Subject: [keycloak-user] Pure Client Javascript Adapter - fragment problem - KEYCLOAK-546<br>
><br>
> Hi,<br>
><br>
> Not sure if anyone else has faced this issue but I don't seem to be able to<br>
> get the Pure client javascript adapter working.<br>
><br>
> I am sort of following the same style as per the example angular-product-app<br>
> but unlike the example, my application has many routers and I use the<br>
> angular ui-router to manage my routers in angular.<br>
><br>
> The Keycloak login page comes up properly and once I provide the valid<br>
> credentials, it authenticates properly as well but the issue is with the<br>
> redirect.<br>
><br>
> I tried many different things and one common issue I noticed was that the<br>
> redirect_uri and redirect_fragment query parameters does not seem to be<br>
> correct.<br>
><br>
> In fact it seems to be identical to this Jira issue raised by Bill sometime<br>
> back <a href="https://issues.jboss.org/browse/KEYCLOAK-546" target="_blank">https://issues.jboss.org/browse/KEYCLOAK-546</a><br>
><br>
> I wonder if this issue is still present in the 1.0.1 final release or if its<br>
> resolved and maybe I am not doing something right.<br>
><br>
> Appreciate any help.<br>
><br>
> Cheers<br>
> Travis<br>
><br>
><br>
</div></div>> _______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div>