WordPress Facebook login via Firebase | Facebook social login via Firebase

WordPress Facebook login via Firebase | Facebook social login via Firebase


Firebase social login with Facebook can be easily set up with WordPress Firebase Authentication plugin. Enabling Facebook Social login on your WordPress site will allow users to login with their Facebook account via Firebase instead of creating a separate account for the WordPress site and remembering a different set of credentials. Please refer to the below steps to configure the Firebase Facebook login and click here to know more about the Firebase Social Login features we provide.


1. Steps to create a facebook app:

  • Go to Facebook developers console at https://developers.facebook.com/ and sign up/Login with your facebook developer account.
  • Wordpress Firebase Facebook login - login
  • Go to the Facebook Developers apps page and click the button to Create App.
  • Wordpress Firebase Facebook login - add new app
  • Select the options as your need to create an App ID.
  • Wordpress Firebase Facebook login - select option
  • Enter the App Display Name and Contact Email for your Facebook app respectively and Select the App purpose then click on Create App button to save your settings and create an App ID for your app.
  • Wordpress Firebase Facebook login - create app id
  • Select Facebook Login by clicking on the Set Up button.
  • Wordpress Firebase Facebook login - click on setup
  • Select the Web option.
  • Wordpress Firebase Facebook login - select web option
  • Next, enter your wordpress site url in the field of Site URL and click Save. Then, click Continue.
  • Wordpress Firebase Facebook login - wp site url
  • Go to Settings -> Basic to view your App Id and App Secret (Refer to the image below).
  • Enter your Privacy Policy URL in the Privacy Policy URL field and Enter your Terms of Service URL in the Terms of Service URL and choose a category from the dropdown in the Category field. Then, click on the Save Changes button to save your configurations.
  • Wordpress Firebase Facebook login - enter policy url
  • Change your app status from In Development to Live by switching the toggle button as shown in the image below.
  • Wordpress Firebase Facebook login - app in development
  • Enter the OAuth Redirect URI from your firebase project in the Valid OAuth Redirect URIs field. Click on the Save changes to save your configurations.
  • Please refer step-2 to get the OAuth Redirect URI from firebase.
  • Wordpress Firebase Facebook login - enter oauth redirect url
  • Copy your App ID and your App Secret which will be required in the next step.
  • Wordpress Firebase Facebook login - client credentials

2. Steps to configure facebook app in firebase:

  • Go to your firebase project, select Authentication from the left panel and then Sign-in method. Please refer to the image below.
  • Wordpress Firebase Facebook login - goto sign in method
  • Select Facebook option from the list of available sign-in options.
  • Wordpress Firebase Facebook login - select facebook app
  • Enable the Facebook method to configure it for sign-in as shown below.
  • Wordpress Firebase Facebook login - enable facebook method
  • Enter the App ID and App secret you got from Facebook in the previous step and click on Save.
  • NOTE: Here you will get the OAuth Redirect URI which you needed to configure in the facebook app in the previous step.
  • Wordpress Firebase Facebook login - enter app credentials

3. Complete the setup of Firebase Authentication plugin:

  • Go to the Firebase Authentication plugin on your wordpress dashboard in which you have configured this firebase project.
  • Wordpress Firebase Facebook login - goto plugin
  • In the Advanced settings tab, select Facebook from the list of available Firebase Authentication Method. Also enable the option to Show login button on WP login page and click on Save Settings.
  • Wordpress Firebase Facebook login - select facebook
  • Now your wp-login page will display a button to Login with Facebook.
  • Wordpress Firebase Facebook login - login to facebook
  • Clicking on the button will enable the users to login to your wordpress site with their Facebook credentials.
  • Wordpress Firebase Facebook login - login with fb credentials

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com