-
Notifications
You must be signed in to change notification settings - Fork 91
Create an auth module using JWT #8
Comments
What about authentication using Passport and JWT ? |
I've already made some progress on that without using Passport. I just want to make a simple JWT authentication module. Anyone who wants to use Passport can then make changes as they want to. |
Could you merge the implementation of JWT to us ? I would like to see it. |
But it should take some time. I don't have the time right now. I did it a few months back and need to look into it before merging. |
Ok, if you want, you could just share the code on gists.github.com |
I've pushed some changes in the auth branch. Not sure if it works now but you can have a look. I'll try to do finish this in a few weeks. |
I'm trying to use yout util crypt functions ... how can I wait this Promise crypt.hash in my model ? my User model :
|
I change Utils crypt.has to
and in my model
now it works; |
It returns a Promise, you'll have to await or return |
Out of scope right now. |
No description provided.
The text was updated successfully, but these errors were encountered: