Setting up Google login

::: Warning: This guide assumes that you have the necessary knowledge about the Google API Console. :::

To enable Google Login you need to generate an OAuth client ID.

  1. Go to the Google API Console
  2. From the projects list, select a project or create a new one.
  3. If the APIs & services page isn't already open, open the console left side menu and select APIs & services.
  4. On the left, click Credentials.
  5. Click Create credentials, then select OAuth client ID.
  6. Select the Web application application type.
  7. Give it a name of your choice or use the default one.
  8. Add the necessary Authorised JavaScript origins for your store. For example, if your store URL is, that's the value you must include.
  9. Add the necessary Authorised redirect URIs. Taking the domain as an example, you must include where eshop/login/sn_login/1/sn_type/google/ is a fixed value. The slash at the end is very important.
  10. Finally, press the Create button.
  11. Once the creation process finishes you will see a popup with the client ID and client secret. You must copy those values because they will be used next.
  12. Go to your Kooomo store admin panel.
  13. On the left, click on Settings to expand the settings menu, then click on Settings to load the store settings page.
  14. Click on Marketing.
  15. Search for Google 'login button' and check Activate and configure.
  16. On the Google Application ID, enter your Google API client ID.
  17. On the Google Application Secret, enter your Google API client secret.
  18. Click to Save your settings on the top left corner of the page.
  19. Logout from your store admin panel or open an incognito window and try the Google Login button.

::: Tip: If you find any issue with the steps above please contact the Kooomo support team. :::