[keycloak-user] Angular2 app with non-authenticated pages

Stan Silvert ssilvert at redhat.com
Mon Feb 6 07:52:31 EST 2017


Good suggestion.  I've created a JIRA and assigned it to myself as a 
task.  I probably won't get to it for awhile so if anyone else wants to 
do it please let me know.
https://issues.jboss.org/browse/KEYCLOAK-4380

On 2/6/2017 5:47 AM, Plunkett McGurk wrote:
> Hi Guys,
>
> In the Angular2 examples code the Keycloak service is initialised before Angular2 is bootstrapped. (https://github.com/keycloak/keycloak/blob/master/examples/demo-template/angular2-product-app/src/main/webapp/app/main.ts)
>
> I'm my Angular2 app I have a landing page which should be non-secured i.e. I don't need to login to view it. However because Keycloak wraps everything, it first hits the landing page and then redirects the user to login.
>
> So can anyone explain the proper way to do this? It would be great if the examples could be extended to show how keycloak can be integrated with non-secure pages
>
> Many thanks
> Plunkett
>
>
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list