Two different basic strategies
tielur opened this issue · 1 comments
tielur commented
I'm trying to implement two different basic strategies, with two different sets of correct tokens. Right now it looks like the basic strategy hard codes the name to basic
, it would be nice if you could set this via options that way you could have multiple basic strategies with different names.
If there is a better way to go about handling this I'd love to hear about it.
tielur commented
It looks like this is already supported by passport.
passport.use('another-basic-strat', new BasicStrategy({...