-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown authentication strategy "local" #18
Comments
I also encountered the same problem.
After registering and login operation ,this error is reported. |
Also encountered the problem. Does anyone know a solution in the meantime? |
+1 |
Same problem. |
me too ... |
mee too |
any fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,my english is a little.
I Install and run the code, I register a new user and send messages, but when I logout and try to login again with the username and password the app show error 500
Unknown authentication strategy "local"
error: Sending 500 ("Server Error") response:
Error: Unknown authentication strategy "local"
at attempt (c:\nodejs\sailng\node_modules\passport\lib\middleware\authentica
te.js:166:37)
at authenticate (c:\nodejs\sailng\node_modules\passport\lib\middleware\authe
nticate.js:342:7)
at Authenticator.passport.callback (c:\nodejs\sailng\api\services\passport.j
s:250:40)
at Authenticator.bound [as callback](c:nodejssailngnode_modulessailsno
de_moduleslodashdistlodash.js:729:21)
at Object.AuthController.callback (c:\nodejs\sailng\api\controllers\AuthCont
roller.js:121:14)
at bound (c:\nodejs\sailng\node_modules\sails\node_modules\lodash\dist\lodas
h.js:729:21)
at routeTargetFnWrapper (c:\nodejs\sailng\node_modules\sails\lib\router\bind
.js:179:5)
at callbacks (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r
outer\index.js:164:37)
at param (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\route
r\index.js:138:11)
at pass (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\router
\index.js:145:5)
at nextRoute (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r
outer\index.js:100:7)
at callbacks (c:\nodejs\sailng\node_modules\sails\node_modules\express\lib\r
outer\index.js:167:11)
at c:\nodejs\sailng\node_modules\sails\lib\router\bind.js:187:7
at c:\nodejs\sailng\api\policies\passport.js:32:7
at SessionStrategy.strategy.pass (c:\nodejs\sailng\node_modules\passport\lib
\middleware\authenticate.js:318:9)
at SessionStrategy.authenticate (c:\nodejs\sailng\node_modules\passport\lib
strategies\session.js:67:10) [Error: Unknown authentication strategy "local"]
I use Windows 8 and Firefox 36.0.4 for this test
The text was updated successfully, but these errors were encountered: