- Google Oauth2
- Facebook Oauth2 (Coming soon)
- Github Oauth2 (Coming soon)
- Cookies to store data
- Express sessions
git clone https://github.com/saadhaxxan/Nodejs-Social-Media-Auth.git
cd Nodejs-Social-Media-Auth
npm install
Goto Configuration then
npm start
- Get API KEY for Google+ from here
- Configure Google Consent Screen
- Get CLIENT_ID and CLIENT_SECRET from Credientials tab.
- Create .env file in the root of project and write like this
YOUR_CLIENTID = "ID here"
YOUR_CLIENT_SECRET = "Secret here"
You can get in touch with me on my LinkedIn Profile:
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star ⭐!
If you find any bug in the code or have any improvements in mind then feel free to generate a pull request.
- MIT (2021)