Skip to content

How do I incorporate passport js for authentication? #921

Answered by andremw
egithinji asked this question in Q&A
Discussion options

You must be logged in to vote

I believe it's worth updating this one to highlight that it's possible to solve this problem by passing the provider attribute to the addExpressMiddleware, as described here.
I just bumped into this need and this was how I solved it. 👌

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@egithinji
Comment options

Comment options

You must be logged in to vote
1 reply
@RobinTail
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RobinTail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants