Android build for social login

How to configure social login for the Android app build?

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

Step 1: Access login build settings

  • From your 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: Set up your Google Firebase

  • Navigate to Google Firebase.

  • Generate the google-services.json file from Project Overview > Project Settings.

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

  • Download the google-services.json by clicking the "google-service.json" button.

  • Upload the JSON file in the Google Firebase configuration field on the Build Settings screen in your AppMySite account.

  • Click on Save.

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

Create Firebase project

Step 3: Enable Sign-in provider on Firebase

Now, enable Google authentication as a Sign-in provider in your Firebase account:

  • Navigate to the Authentication section from the sidebar.

  • Click on the Sign-in method.

  • Then, 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.

Last updated

Was this helpful?