It is much safer signing with Facebook, Google or Twitter into any standalone application instead of creating a new account and password. The more passwords you create for every website you use, they should be unique passwords. If one of the websites gets hacked hackers will be able to describe your password patterns.
If the application is more secure than Facebook, Google or Twitter with a strong password manager and two factor authentication
Step 1:Dependencies needed to install react-facebook-login.
Step 2:Create Facebook app id using your Facebook developers account if you don't have an account create developers account https://developers/facebook/apps
Note: Add your website URL in Facebook developers account while creating application id Ex:https://localhost:3000
< FacebookLogin
appId=''" //application id
autoLoad={false}
fields="name,email,picture"
callback={this.responseFacebook}
/ >
Use the above code to pass the application id created in the Facebook developers account to capture the response using response facebook callback.
Step 1:Dependencies needed to install react-google-login.
Step 2:Create google App id using your google developers account if you don't have an account create a developers account
https://console.developers.google.com/
Note: Add your website URL to google developers account while creating application id Ex:https://localhost:3000