<img src="abc.png" />
    
call to replace anchor tags contains '/admin' in href

Setting up Google Login

StoreHippo allows your customers to log in to their stores through Google. To set up the custom google login, you need to generate the API key and API secret through your Gmail account. To generate the API key and API secret follow the steps mentioned below:

  • Go to API Manager
  • Click on Create in the dashboard section.
  • In the next step, you will be asked to enter the name of the project, and to agree to the terms & conditions.

  • Then go to the Library section and select the Google+ API under Social APIs.
  • Enable Google+API.
  • After enabling Google+ API, go to the Credentials section.
  • Click on Create credentials and select OAuth Client ID option.
  • Click on Configure consent screen.
  • Enter the Product name, homepage URL and save the form.
  • Select the web application option.

Mention the name of the client. In the authorized redirect URLs mention the domain URL (both http as well as https) followed by /auth/google/callback, and click on Create.

  • Copy the Client ID and Client Secret generated.

Configuring Google login in StoreHippo

Go to Advance settings > Login providers section in StoreHippo Admin Panel to configure the google login with your store.
Add new login provider for Google.

Enter the API key and API secret you have generated in the above steps and Save.

2018-05-23T12:10:36.728Z