How to Configure Google Login API
To enable the login with Google access your admin panel and navigate to Theme Options > Login & Register > Allow login via Google. In this article, we will provide you step-by-step instructions on how to configure your Google APP and enable Google login on your website.
Create the New Project
- You need to go to https://console.developers.google.com/apis/dashboard/ and create a new project for your website
Set up OAuth 2.0 credentials
- Then open Credentials section in your APP's dashboard and configure the OAuth consent screen and fill the form with your website's details
- Select External, then click Create:
- After clicking Create, you have to add the information about the Web app.
- Now go to Domain Verification and add a domain by following the further steps.
- Then click the Credential >> Create Credentials >> then API key created:
- Then click the Create Credentials again and create the OAuth Client ID:
- Then add the Authorized redirect URI and Authorized JavaScript Origin domain. It will be your site profile page URL, Profile is the page which you create using User Dashboard Profile template :
- Then click create button then you will get the Your Client ID and Your Client Secret ID :
Implement Google Login on Your Website
- Copy both and paste it to Theme Options → Login Register → Google OAuth Client ID and Google Client Secret fields.
Google Login FAQ
If you still find the issue, then please do the following steps:
Click to edit the OAuth Clients ID Add the Authorized JavaScript origins and Authorized redirect URIs then click the save button.
Comments
0 comments
Article is closed for comments.