View on GitHub

GOT-WP-Login-Register

Google One Tap Login and Register for WordPress

Table of Contents

  1. Installation
  2. Setup Google API

Installation

  1. Download and unzip the latest release zip file.
  2. Using WordPress plugin uploader, upload GOT WP Login Register plugin zip file to your WordPress site OR upload the entire plugin directory ‘got-wp-login-register’ to the ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress administration panel.
  4. You will get an alert to install Dilaz Panel options framework plugin; Install and activate it.
  5. Go to GOT WP LR Panel options page.
  6. Add your Google Client Id and configure other settings.

Setup Google API

1. Go to the Google API Console.


2. Select an existing project, or create a new one by selecting CREATE PROJECT.

alt text


3. Enter project name and click the Create button.

alt text


4. In the Google API Library page, enter people in the search box.

alt text


5. Select Google People API and proceed.

alt text


6. From the Google People API page click on the Enable button.

alt text


7. From the API & Services page, click on the CREATE CREDENTIALS button.

alt text


8. From the Credentials tab, select People API, User data and click the NEXT button.

alt text


9. From the OAuth Consent Screen tab, select App information and click the SAVE AND CONTINUE button.

alt text


10. From the Scopes tab, click on the ADD OR REMOVE SCOPES button.

alt text


11. From the Update selected scopes popup, enter userinfo in the filter search field and select the userinfo properties provided.

alt text


12. From the Update selected scopes popup, enter openid in the filter search field and select the openid properties provided.

alt text


13. After adding all the preferred scopes, click on the UPDATE button.

alt text


14. From the OAuth Client ID tab.

a) Select Web application as the Application type.

alt text

b) From the Authorized JavaScript origins and Authorized redirect URIs, click on the ADD URI buttons.

alt text

c) Add the details as shown below.

alt text


15. From the Your Credentials tab, youl will see your app’s Client ID and then click the DONE button.

alt text


16. From the Credentials page, copy the app’s Client ID as shwon below.

alt text


17. From the sidebar click on OAuth consent screen, choose whether to pusblih your app or leave it on testing mode.

alt text


18. Enter your app’s test users’ emails.

alt text


19. From the sidebar click on Domain verification, and proceed as instructed.

alt text


20. DONE.