OAuth Client ID
The OAuth Client ID allows users to sign in with Google, facilitating secure authentication and access to user data across applications.
To create an OAuth client ID:
-
Visit the link Google Cloud Console and log in to your account.
-
If you already have a project, move to the next step. If not, create a new project first.
-
To create a project, click Select a Project, then click New Project.
-
Enter the project name and click the Create button. The project will be created.
-
Select your project and navigate to APIs & Services by searching for it in the search bar.
- Navigate to the OAuth consent screen:
- Check if an app already exists. If one does, skip to step 8.
- If not, create a new app by checking the External radio button and clicking the Create button.
- Enter the following details:
- App Name
- User Support Email
- Developer Contact Information
Then click the Save and Continue button.
-
On the Scopes page, click Save and Continue without making any changes.
-
On the Test Users page, click the Save and Continue button.
-
In summary, click the Back to Dashboard button.
-
Navigate to the Credentials page, click Create Credentials, and select OAuth Client ID.
-
In the Application Type dropdown, select Web Application.
-
Add your domain (e.g., ZenBasket domain or custom domain) to the URL. For example, if the URL is
www.example.com
, include bothwww.example.com
andexample.com
. Then click Create to generate the OAuth Client ID.
-
Go to the OAuth consent screen, click the Publish Now button, and confirm your action to publish the app.
- Finally, copy the Client ID from the credentials page.