onepiecejs / nodejs-cantas

Cantas is a real-time collaborative web application. Official repository
Other
202 stars 134 forks source link

500 Error: Unknown authentication strategy "google" #67

Closed gomex closed 9 years ago

gomex commented 9 years ago

I followed the documentation and I got this error when I try to login :(

500 Error: Unknown authentication strategy "google"

at attempt (/root/nodejs-cantas/node_modules/passport/lib/middleware/authenticate.js:166:37)
at authenticate (/root/nodejs-cantas/node_modules/passport/lib/middleware/authenticate.js:342:7)
at callbacks (/root/nodejs-cantas/node_modules/express/lib/router/index.js:272:11)
at param (/root/nodejs-cantas/node_modules/express/lib/router/index.js:246:11)
at pass (/root/nodejs-cantas/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/root/nodejs-cantas/node_modules/express/lib/router/index.js:280:5)
at Object.Router.middleware [as handle] (/root/nodejs-cantas/node_modules/express/lib/router/index.js:45:10)
at next (/root/nodejs-cantas/node_modules/express/node_modules/connect/lib/http.js:204:15)
at SessionStrategy.strategy.pass (/root/nodejs-cantas/node_modules/passport/lib/middleware/authenticate.js:318:9)
at SessionStrategy.authenticate (/root/nodejs-cantas/node_modules/passport/lib/strategies/session.js:67:10)
xiaods commented 9 years ago

please check settings file: https://github.com/onepiecejs/nodejs-cantas/blob/master/settings.json.example#L11

xiaods commented 9 years ago

@gomex how about your status. may can help you?

xiaods commented 9 years ago

close it first, when you come back, please issue new question.