Last Updated 6 months ago

PShowGoogleLogin - module and Google account configuration, when we already have a project added in Google.

Our module connects Google with your PrestaShop store and allows store customers to log in using their Google account. To connect Google with the store, create a Project on your Google account following the instructions below. This is a one-time operation. Once you create the project, you will copy the project's secret key, which you will enter in the module.


1. Sign in to your Google account and go to Open Google Cloud Console You will land on the Google Cloud Dashboard, as in the screenshot below. Click APIs & Services:

image

2. On the APIs & Services page click the Select a project link, then "New Project". Enter a project name and fill in the necessary details.


image

image

image
3. Once the project is created, go to the OAuth consent screen configuration by choosing "OAuth consent screen" in the left menu.
On the OAuth consent screen page, go through the configuration, choosing User type: External:

image



image

image

image

image

image

4. Then go through the following steps of your app's configuration.

Provide more information about the consent screen that will be shown to customers in your store when they use Google login. Provide your name (e.g. your store address), upload a logo, paste links to the terms of service and privacy policy, and provide the authorized domain(s):


image


image

image
In the second step, add the data scopes the store will fetch from the Google account - check the information you want to obtain from your customers. The module supports the minimum necessary to create an account. Check the first two items (email, first name, last name and avatar):

image

image

image

image

Save and go to the APIs & Services screen, then copy the login identifier, which you need to paste in the module settings

image

image

Please Wait!

Please wait... it will take a second!

Kliknij by skopiować