Google + authentication and Facebook authentication with java script (social-authentication-seed)

I started to write a java script wrapper for connecting to social medias like facebook and google +.

You can find the source code at https://github.com/Azadehkhojandi/social-authentication-seed

Steps:
1- Clone the repository from https://github.com/Azadehkhojandi/social-authentication-seed - if you don't know how to do it check http://azadehkhojandi.blogspot.com.au/2014/02/step-by-step-clone-repository-from.html 

2- Open your node js command prompt and go to "social-authentication-seed" folder and then run node scripts\web-server.js


3- Browse http://localhost:8000/app/index.html
4- For using facebook authentication you only need to change appId
To create a new appId go to https://developers.facebook.com/ and create app


5- For using google + authentication you only need to change your clientId

To create a new clientId go to https://console.developers.google.com/project and create a new project
turn on google + from Apis


Then create your clientId from credentials tab


Comments