Facebook login with GraphQL and Passport

Implementing a proper authentication system can be very challenging especially if you save user credentials in your own database. You need to handle this confidential data with great care by encrypting and storing passwords securely. And still, you might introduce vulnerabilities which expose valuable data. Therefore offering social logins for…


I regularly post new articles related to GraphQL and React. Drop your email in the box below and you'll receive updates right in your inbox.

Series of articles

Authentication and Authorization with GraphQL and Passport

Authentication and authorization can be a challenging topic. Especially with GraphQL as a pretty young technology, there seems to be a lot of uncertainty and confusion. Should you use a library like Passport.js which is established? But how would you integrate that with GraphQL? Should you rather use separate…