DEV Community

Rohan Ravindra Kadam
Rohan Ravindra Kadam

Posted on • Originally published at Medium

How To Implement OAuth2 Social Login(Single Sign-On)Using Facebook — Part 1

OAuth2 FaceBook

Hello👋 ,Its Rohan Kadam😊

Welcome to Part 1 of OAuth2 Social Login Using Facebook. In this part, we try to understand how to create the Facebook configuration using the developer portal.

How to implement Oauth/SSO login using Facebook -Part 1
Facebook for Developers

⚡Step 1: Create a Facebook Account if don’t have already one.

Log In or Sign Up to View

⚡Step 2: Register As a FaceBook Developer

Register - App Development - Documentation - Facebook for Developers

⚡Step 3: Create An App (Facebook App)

Create an App - App Development - Documentation - Facebook for Developers

⚡Step 4: Filling the App Details.

**Select as per your requirement.*

i) Select App Type as Consumer *****

ii) Enter App Name, Contact Email

iii) Finally Click on Create App

Step 5: On Successful Creation, You will be taken dashboard & Select Facebook Login.

Facebook Developer Dashboard

⚡Step 6: Fill in basic details such as redirect URI and app domains.

Facebook Login Setup page 1

Step 7: Save the Keys for Future used in the system.

  1. App Id ( also known as Client Id)

  2. App Secret ( also known as Client SecretKey)

⚡Step 8: Additional Info can be added as per requirement.

facebook-1

⚡Step 9: Facebook Oauth (Social Login ) using Spring boot.

How To Implement OAuth2 Social Login Using Facebook & Spring Boot — Part 2

⚡Conclusion:-

In the article, we tried to answer as many questions related to how we can use Oauth / SSO Login for our application using the third parties service mainly Facebook, Google and Twitter etc.SSO /Oauth is becoming the standard for sign-in and sign-up of users of many online services.

Please do share and like💖 if you find the article useful. Follow me on medium Rohan Ravindra Kadam and on Twitter at rohankadam25

Thank You

Top comments (0)