[keycloak-user] Keycloak still creates long ugly urls

Dean Peterson peterson.dean at gmail.com
Thu May 7 14:12:26 EDT 2015


That will work.  Thanks!

On Thu, May 7, 2015 at 1:05 PM, Stian Thorgersen <stian at redhat.com> wrote:

> In that case you've got a problem. Keycloak.js strips off the code and
> redirect_fragment query params.
>
> For AngularJS you need to let Keycloak.js do it's thing before AngularJS
> bootstraps. This can be improved with a keycloak-angular module, but we
> haven't had time to do that. Otherwise Angular reverts the url after
> keycloak.js has stripped those off.
>
> Have a look at
> https://github.com/keycloak/keycloak/blob/master/forms/common-themes/src/main/resources/theme/base/admin/resources/js/app.js#L14
> that's how we do it in the admin console.
>
> ----- Original Message -----
> > From: "Dean Peterson" <peterson.dean at gmail.com>
> > To: keycloak-user at lists.jboss.org, bburke at redhat.com
> > Sent: Thursday, 7 May, 2015 4:37:17 PM
> > Subject: Re: [keycloak-user] Keycloak still creates long ugly urls
> >
> > My clients are separate angularjs applications that use keycloak.js to
> > communicate with Keycloak. The long urls are always present: when I
> redirect
> > back to the main route after login and on every subsequent route change.
> I
> > use the keycloak.js that automatically resides on the running Keycloak
> > server rather than the downloadable version.
> >
> > On Wed, May 6, 2015 at 9:32 AM, Dean Peterson < peterson.dean at gmail.com
> >
> > wrote:
> >
> >
> >
> > I recently upgraded to the latest beta version of Keycloak expecting my
> long
> > ugly url problem to go away:
> >
> >
> http://trade.abecorn.com/?redirect_fragment=%2F&code=ukqPsGX7F3ViiYdYgVjsDGE1v-4TGTqE-We0ksk1nzY.d2386c15-b402-4411-a94a-a175f0fc1334&state=2b84dfb8-0f10-4c15-9737-feb409d7bfb7#/
> >
> > Am I doing something wrong?
> >
> >
> >
> >
> > _______________________________________________
> > 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/20150507/faf57f17/attachment-0001.html 


More information about the keycloak-user mailing list