How to configure Google+ login API?


Answer:

  1. From the Navigation, go to Frontend Settings → Site Settings → Third party Settings → Social Login Configuration.

  2. Turn the google login setting status on.

  3. For the client id, client secret and API key, go to console.developers.google.com and login to google account.

  4. From the sidebar click on the credentials and create a project.

  5. Then create credentials by choosing the OAuth Client ID.

  6. Configure consent screen by giving the proper information and then save.

  7. Choose the application type, name and set the restrictions and create the credentials.

  8. After that, you will get the Client ID and Client Secret.

  9. Then click on the create credentials and choose API key and you will get API key.

  10. From the Library find out the google+ api. Click on it and enable the api. 

  11. Copy the Client ID, Client Secret and API key and paste these to your system and set the redirect url. Then click on the save button.

×