<div dir="ltr"><span style="font-size:12.8px">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.</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-10 8:03 GMT-02:00 Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>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.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 10 February 2016 at 10:56, Matuszak, Eduard <span dir="ltr"><<a href="mailto:eduard.matuszak@atos.net" target="_blank">eduard.matuszak@atos.net</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div>
<font face="Calibri" size="2"><span style="font-size:11pt">
<div>Hello</div>
<div> </div>
<div>We are adviced to implement the GUI of a new project with angularjs ng2. There is an inspiring sample (<a href="https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app" target="_blank">https://github.com/keycloak/keycloak/tree/master/examples/demo-template/angular-product-app</a>)
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.</div>
<div> </div>
<div>Thanks in advance for your feedback, <font face="Verdana" size="2"><span style="font-size:9pt">Eduard Matuszak</span></font></div>
<div><font face="Verdana" size="2"><span style="font-size:9pt"> </span></font></div>
<div><img><font size="2"><span style="font-size:9pt"> </span></font></div>
<div><font face="Verdana" size="2" color="#1F497D"><span style="font-size:9pt"><b>Dr. Eduard Matuszak</b></span></font></div>
<div> </div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">Worldline, an atos company</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">T <a href="tel:%2B49%20%28211%29399%20398%2063" value="+4921139939863" target="_blank">+49 (211)399 398 63</a></span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">M <a href="tel:%2B49%20%28163%29166%2023%2067" value="+491631662367" target="_blank">+49 (163)166 23 67</a></span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">F <a href="tel:%2B49%28211%29%20399%2022%20430" value="+4921139922430" target="_blank">+49(211) 399 22 430</a></span></font></div>
<div><a href="mailto:eduard.matuszak@atos.net" target="_blank"><font face="Verdana" size="1" color="blue"><span style="font-size:8pt"><u>eduard.matuszak@atos.net</u></span></font></a><font face="Verdana" size="1" color="#1F497D"><span style="font-size:8pt"> </span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">Max-Stromeyer-Straße 116</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">78467 Konstanz</span></font></div>
<div><font face="Verdana" size="1"><span style="font-size:8pt">Germany</span></font></div>
<div><a href="http://worldline.com/de/1/Home.html" target="_blank"><font face="Verdana" size="1" color="blue"><span style="font-size:8pt"><u>de.worldline.com</u></span></font></a></div>
<div><a href="http://worldline.jobs.de" target="_blank"><font face="Verdana" size="1" color="blue"><span style="font-size:8pt"><u>worldline.jobs.de</u></span></font></a></div>
<div><a href="http://www.facebook.com/WorldlineKarriere" target="_blank"><font face="Verdana" size="1" color="blue"><span style="font-size:8pt"><u>facebook.com/WorldlineKarriere</u></span></font></a></div>
<div><img><font size="2"><span style="font-size:9pt"> </span></font></div>
<div> </div>
<div> </div>
<div><font face="Arial" size="2"><span style="font-size:9pt">Worldline GmbH<br>
Geschäftsführer: Wolf Kunisch<br>
Aufsichtsratsvorsitzender: Christophe Duquenne<br>
Sitz der Gesellschaft: Frankfurt/Main<br>
Handelsregister: Frankfurt/Main HRB 40 417<br>
<br>
* * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *<br>
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.<br>
* * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *</span></font></div>
<div><font color="#1F497D"> </font></div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
<br>_______________________________________________<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" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jeandeson O. Merelis</div>
</div>