Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
app.authenticate not working #466
According to docs, https://docs.feathersjs.com/v/auk/api/authentication/server.html#appauthenticatedata,
In my app, I tried to use this fonction:
As a result, accessToken seems to be a function...
I'm using feathers-authentication v1.2.0
Here is an example, with
I created this middlware:
When I hit the endpoint, I got this error:
I tried to debug with vscode, and
EDIT: in fact, I'm now sure of that: https://github.com/feathersjs/feathers-authentication/blob/master/src/index.js#L41
Oh wow. I'm not sure how I did that. I must have gotten my wires crossed with the client while I was writing the docs the other day. Good grief.
So the real docs for
I know where to spend my next couple of hours in the docs.
@ekryski and I have decided to pull
There are two ways of creating JWT: