How to Configure Google Login Api
To configure Google login api follow the steps below.
- Go to https://developers.google.com/identity/sign-in/web/sign-in
- Click on Configure A Project.
- Write your project name and click on next button.
- Configure auth client by selecting web server and give your Authorized redirect URIs (example:https://example.com/home/login_set) and click on Create.
- Then you will get the Client ID and Client Secret.
- Now go to your site admin Dashboard > Frontend Settings > Site Settings >Third party Settings.
- Click on the Social Login Configuration tab.
- Turn on the Status button and set the Client ID, Client Secret and API key in Google Login Credential.
- Set the Client ID and Client Secret in Google Login Credential.
- Click on the Save button.