Android build for social login

How do I configure my WordPress Android build for social logins?

The social login feature is available for WordPress and WooCommerce solutions, allowing app users to log in using Google. Follow these steps to configure your Android app build for social login:

Step 1

  • From your AppMySite app dashboard, navigate to Access < Login

  • Click on the build settings button and enable the toggle for social logins

  • Click on the Generate button to create the SHA Key-1

Step 2

  • Navigate to Google Firebase.

  • To Download the google-services.json file, go to Project Overview> Project Settings

  • Under the General tab, go to Your Apps section and click on your Android app.

  • Download the google-services.json from your Google Firebase account.

  • Upload the JSON file in the Google Firebase configuration field.

  • Click on Save.

Step 3

You must enable Google authentication as a Sign-in provider in your Firebase account. Follow these steps to enable Google authentication as a Sign-in provider.

  • Navigate to the Authentication section from the sidebar.

  • Click on the Sign-in method.

  • Click on Add new provider.

  • Select Google from the list of additional providers.

  • In the popup menu, turn on the Enable toggle.

  • Click Save to finalize the changes.

Visit this link for a complete guide on how you can create an app project on Firebase:

Last updated