[keycloak-user] Example of npm keycloak-connect with bearer or JWT
Jonathan Little
rationull at gmail.com
Sat Apr 22 11:35:00 EDT 2017
FWIW that was handled recently in KEYCLOAK-4685 which called it a doc bug,
implying that new Keycloak() with no args is not allowed. Changeset:
https://github.com/keycloak/keycloak-nodejs-connect/commit/9cb0c9d2ef37370a26c12572cea6c80744c9cf84
On Sat, Apr 22, 2017 at 12:34 AM, Sebastien Blanc <sblanc at redhat.com> wrote:
> On Fri, Apr 21, 2017 at 4:58 PM, Austin Cunningham <aucunnin at redhat.com>
> wrote:
>
> > 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({});
> >
> can you open a ticket for that ? I think it should be possible to do just
> 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>
> > _______________________________________________
> > keycloak-user mailing list
> > 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
>
More information about the keycloak-user
mailing list