What is the best way to handle auth in graphql? #5745
Unanswered
ConnorMarble
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I came across an article at freecodecamp where they implement passportjs with apollo server express by essentially passing the req and res objects into context. I've used passportjs with rest api routes before, but I am open toother suggestions.
Would this be the best way to implement auth using apollo server express using passportjs?
Code from article
Beta Was this translation helpful? Give feedback.
All reactions