[keycloak-user] Pure Client Javascript Adapter - fragment problem - KEYCLOAK-546
Travis De Silva
traviskds at gmail.com
Thu Oct 9 23:15:36 EDT 2014
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"]);
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.
Hope if someone else has this issue it will be of use.
On Tue, Oct 7, 2014 at 5:20 PM, Stian Thorgersen <stian at redhat.com> wrote:
> 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.
>
> ----- Original Message -----
> > From: "Travis De Silva" <traviskds at gmail.com>
> > To: keycloak-user at lists.jboss.org
> > Sent: Tuesday, 7 October, 2014 2:18:41 AM
> > Subject: [keycloak-user] Pure Client Javascript Adapter - fragment
> problem - KEYCLOAK-546
> >
> > Hi,
> >
> > Not sure if anyone else has faced this issue but I don't seem to be able
> to
> > get the Pure client javascript adapter working.
> >
> > I am sort of following the same style as per the example
> angular-product-app
> > but unlike the example, my application has many routers and I use the
> > angular ui-router to manage my routers in angular.
> >
> > The Keycloak login page comes up properly and once I provide the valid
> > credentials, it authenticates properly as well but the issue is with the
> > redirect.
> >
> > I tried many different things and one common issue I noticed was that the
> > redirect_uri and redirect_fragment query parameters does not seem to be
> > correct.
> >
> > In fact it seems to be identical to this Jira issue raised by Bill
> sometime
> > back https://issues.jboss.org/browse/KEYCLOAK-546
> >
> > I wonder if this issue is still present in the 1.0.1 final release or if
> its
> > resolved and maybe I am not doing something right.
> >
> > Appreciate any help.
> >
> > Cheers
> > Travis
> >
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20141010/7da61c7f/attachment.html
More information about the keycloak-user
mailing list