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.
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.