node.js - Trying to plug in another provider to Passport and its complaining of strategy not found -


I am using mean.io and I basically change any mention of a geethb passport strategy with another strategy The one who uses it passport, passport fit, what I can see should work outside of the box - to do this.

However, when I click on the sign with the button in the audio demo app, I get the following error:

  Error: Anyone under the name Strategy is not registered: FBIT (/project/node_modules/passport/lib/passport/middleules/authenticate.jshew 37:37) on passport. Authentication (/ project / node_module /passport/lib/passport/middleware/authenticate.js/744:7) on callback (/project/node_modules/express/lib/router/index.js:164:37) Ultimate (/ Project / Node_module / express / lib) on /router/index.js:138:11) on the router. (/project/node_modules/express/lib/router/index.js:145)) router. Object on _dispatch (/ project / node_module / express / lib / router / index.js: 173: 5) Project on Stroke (/project/node_modules/express/lib/router/index.js:33:10) on next (/project/node_modules/express/node_modules/connect/lib/proto.js: 193: 15). Any ideas with a context.next (/ project / node_modules / express / node_mod  

) on hne (/project/node_modules/connect-flash/lib/flash.js21/)? < /P>

Itemprop = "text">

You did not show any of your codes, but depending on the error message It seems that you have not misspelled "Fitbit." The error message references an unregistered name of "FBIT" (which previously "T" is missing). Find your code for "Fibit" and replace with "Fitbit" and try again.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -