[keycloak-user] $urlRouterProvider

Stian Thorgersen sthorger at redhat.com
Mon Jan 11 07:01:25 EST 2016


The easy fix is to bootstrap Angular after Keycloak has been initialized.
Take a look at:
https://github.com/keycloak/keycloak/blob/master/examples/demo-template/angular-product-app/src/main/webapp/js/app.js#L23

It's not ideal, but otherwise Angular replaces the url after Keycloak
strips off the code query param.

On 11 January 2016 at 12:56, Stuart Jacobs <stuart.jacobs at symbiotics.co.za>
wrote:

> Good Day,
>
> I currently have a angular application that uses $urlRouterProvider for
> it's routing, I can not get the application from performing a infinite loop
> on the landing page.
>
> Has anyone experienced this with $urlRouterProvider and is there a
> solution to the problem?
>
>   Regards,
>   Stuart Jacobs
>
>
>
>
>
>
>
> www.symbiotics.co.za
>
> ********************************************************************************
> This email and any accompanying attachments may contain confidential and
> proprietary information. This information is private and protected by law
> and, accordingly, if you are not the intended recipient, you are requested
> to delete this entire communication immediately and are notified that any
> disclosure, copying or distribution of or taking any action based on this
> information is prohibited.
>
> Emails cannot be guaranteed to be secure or free of errors or viruses. The
> sender does not accept any liability or responsibility for any
> interception, corruption, destruction, loss, late arrival or incompleteness
> of or tampering or interference with any of the information contained in
> this email or for its incorrect delivery or non-delivery for whatsoever
> reason or for its effect on any electronic device of the recipient.
>
>
> ********************************************************************************
> _______________________________________________
> 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/20160111/4faec93b/attachment.html 


More information about the keycloak-user mailing list