How To Create Google Client ID for app or site.

If you want to take users to come back to your site so you need google login service on your website, How to create a google client id and Google Client Secret code, Google Apps Name. it improves your site power full login on-site, direct login by google id. please follow the steps below to enable Google Login on your WordPress website.

Step for how to create Google APIs client I’d and client secret

  1. Login using Google account at Google API Console.
  2. First attempt at Google APi console, if.
  3. Create new project.
  4. APIs and Services > Credentials section from the menu in the top-left corner.
  5. Go-to OAuth consent screen section.
  6. Fill the details of site, which you want to using access login through Google.
  7. Click OAuth client ID after clicking Create credentials.
  8. fill described OAuth options.
  9. Copy client ID and client secret.


Step 1: login using Google account

Step for create Google APIs client I’d and client secret

Navigate to the Google API Console section and login to your Google Account if needed.

Step 2: create a project

If this is your first app, you will need to “create a project” and may also need to accept Terms and Conditions. If you do not see this page, continue to step 3.

create new project APIs

create new project 

Step 3: create project for APIs

if you have created apps before, here you will be able to see the project list. You can also create a new project by pressing “CREATE PROJECT” at the top. Click on the three dot of your project title you want to create an app for.

How to create google client id and Google Client Secret code

Step 4: Go-to APIs and services credentials

Navigate to APIs and Services > Credentials section from the menu in the top-left corner

How to create google client id and Google Client Secret code

active APIs services

If you do not find the menu above, you can use this URL to open the menu 

https://console.developers.google.com/apis/credentials?folder=&organizationId=[orgID]&project=[projectID]

Step 5: OAuth consent screen section

Navigate to OAuth consent screen section

Step 6: fill options about your site or app, logo and URL

Complete the fields as described below

authorized domain

Application Name: Specify the name of your app (you can enter whatever name you want, but it is recommended that you enter your website or company name in this field).

Application Logo: Upload the logo of your website that you will integrate social login.

Support Email: Select/Specify the email

Scopes for Google APIs: Three fields should already be added – email, profile, and OpenID. If these are not there, add these.

Authorized Domains: Specify your website domain. For example, if your website homepage URL is www.website.com or website.com, you must save website.com. Click outside of the textbox after entering the domain name, otherwise, it will not be saved. You can fill in other optional fields.

Click the Save button.

Step 7: create credentials section

Click OAuth client ID after clicking Create credentials button in the Credentials section

APIs

Step 8: fill described OAuth options.

Complete the fields as described below.

authorized url

  • Application Type: Select Web application
  • Name: Specify the name of your app (you can enter whatever name you want, but it is recommended that you enter your website or company name in this field).
  • Authorized JavaScript origins: Leave empty.
  • Authorized url you found at any plugins or themes customize setting.
  • Authorized redirect URIs: Open your website and go to Customizer Click outside of the textbox after entering the domain name, otherwise, it will not be saved.
  • Click Create button

Step 9: copy the client ID and client secret for plugins.

Copy Client ID  and Client Secret and paste these in the Google Client ID and Google Client Secret options on the customizer, respectively. Do not forget to Save Changes after configuring all the setting.

How to create google client id and Google Client Secret code

client id APIs

If you like this post share it with your friends and stay updated on our site for more information.

Photo of author

bokapatel

Professional digital marketer and SEO experts. Enthusiast to write articles on WordPress tutorials, SEO, all about related to build a website.

1 thought on “<strong>How To Create Google Client ID for app or site.</strong>”

Leave a Reply