-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
passport.authenticate(requireLogin) does not work, when called to http://localhost:8080/api/auth/login shows bad request. #154
Comments
Do u set the middleware called ‘initialize’ from passport? |
yes
…On Jun 15, 2017 13:28, "authhwang" ***@***.***> wrote:
Do u set the middleware called ‘initialize’ from passport?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AacC2tqgakskMDanfOu4vP28BBSYC1oNks5sEOQmgaJpZM4Ndi5C>
.
|
Use the below code as your session setup code passport.deserializeUser(function(id, done) { |
@jainAdijain , Have you found the solution? I am facing the same issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
passport.js
routes.js
The text was updated successfully, but these errors were encountered: