I sent a pull request with angular2 example. It works the same way of example angular-product-app, except for http interceptors, this should be improved in the future.

2016-02-10 8:03 GMT-02:00 Stian Thorgersen <sthorger@redhat.com>:
The main issue with Angular is that Keycloak and the Route provider conflicts with each other, which causes a endless redirect loop. Current work around we have is to make sure Keycloak is fully initialized before Angular is bootstrap. The proper solution would be to have a Angular library for Keycloak that can handle this.

We have not had time to look at that, nor have we looked at Angular2 at all. So it would be a while until we would get to this, unless someone from the community wants to contribute it.

On 10 February 2016 at 10:56, Matuszak, Eduard <eduard.matuszak@atos.net> wrote:
Hello
 
We are adviced to implement the GUI of a new project with angularjs ng2. There is an inspiring sample (https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app) for using keycloak.js-library in colaboration with the older angular version. Do you intend to publish a comparable example based on ng2 in the near future? This would be very helpful.
 
Thanks in advance for your feedback, Eduard Matuszak
 
Dr. Eduard Matuszak
 
Worldline, an atos company
Max-Stromeyer-Straße 116
78467 Konstanz
Germany
 
 
Worldline GmbH
Geschäftsführer: Wolf Kunisch
Aufsichtsratsvorsitzender: Christophe Duquenne
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417

* * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail by error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and shall not be liable for any damages resulting from any virus transmitted.
* * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *
 
 
 
 

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user



--
Jeandeson O. Merelis