[keycloak-user] Example of npm keycloak-connect with bearer or JWT

Austin Cunningham aucunnin at redhat.com
Fri Apr 21 10:58:25 EDT 2017


Thanks Kevin and Bruno,

Managed to get bearer up and running . Small note keycloak-connect needs an
object when instantiated or won’t compile.

var keycloak = new Keycloak({});

Regards
Austin
​

On 20 April 2017 at 12:10, Bruno Oliveira <bruno at abstractj.org> wrote:

> Hi Austin, this is one of bearer only examples which I can think about
> https://github.com/keycloak/keycloak-quickstarts/
> tree/master/service-nodejs
>
> I hope it helps.
>
> On Wed, Apr 19, 2017 at 6:02 AM Austin Cunningham <aucunnin at redhat.com>
> wrote:
>
>> Hi Kevin,
>>
>> Thanks for getting back to me , I have reviewed that example before , it
>> seems to be using sessions , not bearer or jwt. Correct me if I am wrong I
>> could be missing something. I was hoping to find an implementation of
>> http://blog.keycloak.org/2015/10/authentication-of-clients-
>> with-signed.html.
>> Regards
>> Austin
>>
>> On 19 April 2017 at 08:32, Kevin Berendsen <
>> kevin.berendsen at pharmapartners.nl> wrote:
>>
>> > Hi Austin,
>> >
>> > I believe this example is what you're looking for. [1]
>> >
>> > Make sure you read the README carefully.
>> >
>> > [1] https://github.com/keycloak/keycloak-nodejs-connect/tree/
>> > master/example
>> >
>> > Kind regards,
>> >
>> > Kevin
>> >
>> > -----Oorspronkelijk bericht-----
>> > Van: keycloak-user-bounces at lists.jboss.org [mailto:
>> keycloak-user-bounces@
>> > lists.jboss.org] Namens Austin Cunningham
>> > Verzonden: dinsdag 18 april 2017 16:54
>> > Aan: keycloak-user at lists.jboss.org
>> > Onderwerp: [keycloak-user] Example of npm keycloak-connect with bearer
>> or
>> > JWT
>> >
>> > Hi ,
>> >
>> > I am looking for an example of JWT or Bearer implemented in Node.js with
>> > express js with Keycloak .
>> >
>> > Regards,
>> > Austin
>> > _______________________________________________
>> > keycloak-user mailing list
>> > mailto:keycloak-user at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>> >
>> > _______________________________________________
>> > keycloak-user mailing list
>> > keycloak-user at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>> >
>>
>>
>>
>> --
>>
>> Austin Cunningham
>>
>> Software Engineering Intern
>>
>> Red Hat Mobile <https://www.redhat.com>
>>
>> Communications House, Cork Road, Waterford X91NY33
>>
>> Ireland
>>
>> aucunnin at redhat.com
>> <https://red.ht/sig>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>


-- 

Austin Cunningham

Software Engineering Intern

Red Hat Mobile <https://www.redhat.com>

Communications House, Cork Road, Waterford X91NY33

Ireland

aucunnin at redhat.com
<https://red.ht/sig>


More information about the keycloak-user mailing list