roblevintennis / passport-api-tokens

A boiler-plate using Passport and JWT with REST API Auth Tokens
MIT License
152 stars 28 forks source link

Implementing jwt with passport-local and not passport-local-mongoose #3

Open itsyogesh opened 9 years ago

itsyogesh commented 9 years ago

Hey Rob,

I am trying to implement jwt with passport local and not with passport-local-mongoose, but I am not able to understand the flow. Taking this boilerplate, is there any way I can implement that. The reason why I am using this is because I might switch from passport-local to passport-basic since it allows for headers based user details and that I feel is more suitable for rest calls.

roblevintennis commented 9 years ago

@yogeshkumar180592 sorry I haven't touched this repo for a long time and I don't have time to dig in :( best of luck and sorry I can't be more helpful