You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since passport returns an object (which is shared by any call to require('passport'), how would I go about getting two separate passport objects that can have separate configurations and initializations?
In other words something like:
Passport = require('passport);
pp1 = new Passport()
pp2 = new Passport()
The text was updated successfully, but these errors were encountered:
Since passport returns an object (which is shared by any call to require('passport'), how would I go about getting two separate passport objects that can have separate configurations and initializations?
In other words something like:
Passport = require('passport);
pp1 = new Passport()
pp2 = new Passport()
The text was updated successfully, but these errors were encountered: