P
Local bulletin
Step 1: Set Up a Google Cloud Project
-
Go to Google Cloud Console
:
- Visit the Google Cloud Console.
-
Create a New Project
:
- Click on Create Project.
- Name your project and click Create.
-
Enable the OAuth Consent Screen
:
- Navigate to APIs & Services > OAuth consent screen.
- Select External (for apps accessible to all Google users) or Internal (for Google Workspace users within your organization).
- Configure the following:
- App Name: Name of your app.
- User Support Email: Your email.
- Developer Contact Information: Your contact email.
- Click Save and Continue. For now, you can skip “Scopes” and “Test Users.”
- Navigate to APIs & Services > OAuth consent screen.
Step 2: Enable APIs
-
Enable Google APIs
:
- Go to APIs & Services > Library.
- Enable the following APIs:
- Google Identity Services API
- OAuth2 API
Step 3: Create OAuth 2.0 Credentials
-
Navigate to Credentials
- Go to APIs & Services > Credentials.
-
Create OAuth 2.0 Client ID
:
-
Click Create Credentials and select OAuth client ID.
-
Choose Web Application as the application type.
-
Add your
Authorized Redirect URIs
:
- For example, add
http://localhost:8000/callbackfor local testing. - Add your production URLs for deployment.
- For example, add
-
Click Create.

- the client is now registered
-
-
Download Client Secret
:
- After creating the client, download the credentials file (a JSON file).
- This file contains your
client_idandclient_secret.



