Last time I checked, the adapter works with bearer only. If you provide the
steps to reproduce, version of keycloak server, adapter version and the
error. That would help ;)
On Fri, Mar 3, 2017, 8:05 PM Sebastien Blanc <sblanc(a)redhat.com> wrote:
Well the adapter works with bearer only , what is the error that you
are
getting ?
Le ven. 3 mars 2017 à 21:26, Saransh Kumar <skm.8896(a)gmail.com> a écrit :
> Hii Sebastien,
>
> Actually, the node js kc adapter is not working with bearer auth only.
> So, I need to verify the access token myself with keycloak in node js
> without using node js adapter or any other adapters.
> Please help me out in this way.
>
> Thanks in advance.
> Saransh
>
> On Sat, Mar 4, 2017 at 12:06 AM, Sebastien Blanc <sblanc(a)redhat.com>
> wrote:
>
>
>
> On Fri, Mar 3, 2017 at 7:04 PM, Saransh Kumar <skm.8896(a)gmail.com>
wrote:
>
> Hello all,
>
> I have a REST API in express node js.
> I want to secure it with keycloak bearer auth only.
> So, a keycloak token would be recieved in the Authorization header of the
> GET request to the REST API.
> I have to verify the token with keycloak *without using any adapters.*
> Please help me out in the process.
>
> Are you not allowed to add any extra packages ? Just lookup the source
> code of the nodejs kc adapter and paste it into your app ;)
>
>
>
> Thanks in advance
> Saransh
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user