1. Create a Google Developer Project.
To create a Google Developer Project:
- Go to the Google Developer Console.
- Log in to your Google account.
- At the top of the page, click Select a project.
- Click New Project.
- Enter a project name.
- Click Create.
- Select Credentials in the left sidebar.
- Click Create Credentials.
- Select OAuth client ID.
- Click Configure Consent Screen.
- Select External for User Type.
- Click Create.
- Add the details for your app’s information.
- Add an app domain.
- For each domain that you want to authorize, click Add Domain under Authorized domains and configure the desired domains.
- Under Developer contact information, enter your email address.
- Click Save and Continue.
2. Create your credentials.
To create the credentials for your Google app:
- In the left sidebar, click Credentials.
- Click Create Credentials.
- Click OAuth client ID.
- Select Web application for Application type.
- Enter a name for your OAuth 2.0 client.
- Enter your full root domain in Authorized JavaScript origins.
- Enter your full root domain in Authorized redirect URI.
- Click Create.
3. Save your credentials.
Save the Your Client ID and Your Client Secret values that display in Google after you save your credentials: