This is a Node.JS authentication that comprises both native and social (google & facebook for now and can beployed on the fly in your code. At the time of writing, it is secure and is generic enough to serve your purpose. Feel free to try it, and I'm also open for any contributions on making it even better
Fork the repository first and clone it
git clone <CLONE_URL>
Change into cloned repo and install dependencies
`npm install`
Start the project
npm start
Visit https://localhost:3000
to view the project.
NOTES: Kindly change the MongoDB url in auth/config/database.js to your personal one, as well as the session secret in /app.js