Hi Deepak,

You can check this example on github
https://github.com/keycloak/keycloak-nodejs-connect

In the admin console you will need to add a new application, it can be public or bearer depends, on the fact that will your API be directly called and request authentication or they will be called inside a pre authenticated app and just pass the token previously obtained.

On Fri, Aug 5, 2016 at 9:59 AM, Deepak Garg <deepakgarg.garg@gmail.com> wrote:
Hi,

I have created a nodeJS rest api application. I want to secure my nodeJS API layer using keycloak. 

Please suggest me how I can achieve the same?

What configuration I need to do in the admin keycloak console? like under client->access type should be public or bearer only?


Thanks,
Deepak

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



--
Best Regards
Shiva Saxena