OAuth 2.0 — Social Login implementation
OAuth — Social Login implementation Oauth 2.0 provides data from web servers with limited access to third-party sites on behalf of resource owners. There are several grant types to get data from resource servers. Authorization code grant type — for web apps that have back end servers Resource owner password credentials grant type — for official apps like facebook mobile app, etc Implicit grant type — for client-side scripts in web apps Client credentials grant type — server to server communications in this example, we use the authorization code grant type. Let's begin for coding. Step 1 — create a new Facebook app go to the https://developers.facebook.com/ and create an app as follow. My Apps->Create App then fill the Display name and Email. Now you create a new app with new app id. (app id in 1) Next go to Facebook login setup - ( 2 ) you will navigate to below page In our project we use web platform, because of that select www (w...