Local strategy error when using two different passports in Node.js

Viewed 36

If you have different user types which require authentication using two separate configuration files how would ya'll implement that because when I try to create two passports from a Passport object it doesn't know what the local strategy is even though it is defined in both config files and works when I only have one Passport. Thanks!

0 Answers
Related