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:
On Sat, Apr 22, 2017 at 12:34 AM, Sebastien Blanc <sblanc(a)redhat.com> wrote:
On Fri, Apr 21, 2017 at 4:58 PM, Austin Cunningham
<aucunnin(a)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(a)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(a)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(a)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(a)lists.jboss.org [mailto:
> >> keycloak-user-bounces@
> >> >
lists.jboss.org] Namens Austin Cunningham
> >> > Verzonden: dinsdag 18 april 2017 16:54
> >> > Aan: keycloak-user(a)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@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
> >> >
> >>
> >>
> >>
> >> --
> >>
> >> Austin Cunningham
> >>
> >> Software Engineering Intern
> >>
> >> Red Hat Mobile <
https://www.redhat.com>
> >>
> >> Communications House, Cork Road, Waterford X91NY33
> >>
> >> Ireland
> >>
> >> aucunnin(a)redhat.com
> >> <
https://red.ht/sig>
> >> _______________________________________________
> >> keycloak-user mailing list
> >> keycloak-user(a)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(a)redhat.com
> <
https://red.ht/sig>
> _______________________________________________
> 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