1. Home
  2. Docs
  3. wpDiscuz 7 Documentation
  4. Plugin Settings
  5. Social Login and Share
  6. Google App Configuration
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

Google App Configuration

To start using Google+ Login Button you should get Google Client ID and fill the according wpDiscuz options in Dashboard > wpDiscuz > Settings > Social Login and Share admin page (Google section):

Getting Google Client ID

  1. Navigate to https://console.developers.google.com/apis/
  2. Log in with your Google credentials if you are not logged in
  3. If you don’t have a project yet, you’ll need to create one. You can do this by clicking on the blue “Create project” button on the right side! ( If you already have a project, click on the name of your project in the dashboard instead, which will bring up a modal and click New Project. )
  4. Click the Create button.
  5. Name your project and then click on the Create button again
  6. Once you have a project, you’ll end up in the dashboard.
  7. Click on the “Credentials” in the left-hand menu to create new API credentials
  8. Select the OAuth consent screen!
  9. Enter a name for your App under the “Application name” field, which will appear as the name of the app asking for consent.
  10. Fill the “Authorized domains” field with your domain name probably: yourdomain.com without subdomains! (Where yourdomain.com is your site’s domain)
  11. Press “Save” and you will be redirected back to Credentials screen.
  12. Click the Create credentials button and select “OAuth client ID” from the dropdown.
  13. Your application type should be “Web application”
  14. Name your application
  15. Add the following URL to the “Authorised redirect URIs” field: https://yourdomain.com/wp-admin/admin-ajax.php?action=wpd_login_callback&provider=google (Where yourdomain.com is your site’s domain)
  16. Click on the Create button
  17. A modal should pop up with your credentials. If that doesn’t happen, go to the Credentials in the left-hand menu and select your app by clicking on its name and you’ll be able to copy-paste the Client ID and Client Secret from there.
  18. Copy Client ID and paste in the Google Client ID field in Dashboard > Comments > Settings > Social Login and Share admin page (Google section) and save options.
Was this article helpful to you? Yes No