This ReactQL project demonstrates one possible way you might implement user/password authorisation.
It also adds Passport.js with a sample Facebook login.
users
and sessions
tables, running via Sequelize v4localStorage
and via cookies, for subsequent SSR requests to render authenticated content on the server side, and for stateless environments such as mobileI've uploaded a 28 minute video on YouTube, which explains the concepts used in this project entitled User authentication with GraphQL + DB + JWT
Find it here: https://youtu.be/s1p4R4rzWUs
Based on ReactQL kit v2.8.5