Sign in with Google

This extension allows your app users to sign in with Google to your WordPress site.


Before you can use Sign in with Google, please make sure you also have checked the "Enable Google Sign On" option in myapppresser.com dashboard under Your App => Login Settings.

Create a new project on Google Cloud

Access the Google Cloud console at https://console.cloud.google.com/ and create a new project.

To create a project give a name and a location (or keep the Location value with No Organization).

Create an OAuth key for Android

For the next step, you are going to need the release keystore file. If you are on a Standard, Professional, or Advanced plan, we can provide this file for you. Please contact us.

If you are on a reseller plan setting up your own app builds, follow the instructions on how to create a signing key.

Once you have you keystore file and created the project, click the menu icon at the top left of the cloud console to open the side menu. Click APIs & Services and go to Credentials.

Then click on CREATE CREDENTIALS and select OAuth client ID

Configure Consent Screen

If you see a message that says "To create an OAuth client ID, you must first set a product name on the consent screen," click configure consent screen. Select "External" and click Create.

Fill out your app details on the consent screen, make sure to add your WordPress website url under "Authorized Domains."

Save, then go back to the Credentials section by clicking Credentials on the left side of the screen. Click on CREATE CREDENTIALS and select OAuth client ID. 

Create OAuth Client ID

Select the application type as Android, give a name, and add your app ID. Your app ID must match the App ID in the Settings tab of your app customizer (shown below).

The SHA-1 must be extracted from your keystore file. To get this use the command:

keytool -keystore my-release-key.keystore -list -v


This command will print the SHA1 in your terminal copy and paste it on Signing-certificate fingerprint field.

After that, you’ll see a dialog with a client ID. This is Client ID (Android) to the plugin settings.

Copy your Client ID and paste it into the myappresser.com app dashboard under Your App => Login Settings.

Create an OAuth key for iOS


Next, you need to create another OAuth key for iOS.

To create an OAuth key for iOS go to APIs & Services and go to Credentials. Then click on CREATE CREDENTIALS and select OAuth client ID. Select the application type as iOS, give a name, and add the App ID in the Bundle ID field.

After that, you’ll see a dialog with a client ID. This is your Client ID (iOS).

Installation

Install and activate the App Social plugin from the zip file that you were given when you purchased.

In your WordPress admin, go to Plugins->Add New->Upload. Upload the .zip file you downloaded (do not unzip), and activate.

Alternatively, unzip the folder and upload it to your wp-content/plugins directory.

Plugin Settings

Fill the client ID (Android) field and the client ID (iOS) field from the previous steps, under the Social Tab, in the AppPresser settings.