Configuring Google Cloud Platform
to generate auth credentials
- https://console.cloud.google.com/
Login in Google Cloud Platform
- Create a project by: Select Project(Navbar) → New Project(Right Top corner)
Choose Name and Save
- Go to: Navigation Menu(Left Top hamburger) → APIs and services
Or access directly through: https://console.cloud.google.com/apis/
- From the left side menu select Credentials
- From the APIs and services navbar click the dropdown + CREATE CREDENTIALS
and select OAuth Client ID
- Choose application type. For our case can be Web Application
Define a redirect URI, for testing we can use our local url:
http://localhost:8000//complete/google-oauth2/
For production would be for my case:
https://www.jaimedcsilva.com/complete/google-oauth2/
- After clicking Create, Client ID and Client Secret are generated.
We will use them next.
Python 3.12 Django==4.2
12 July 2024
|
Last Updated: 22 Nov. 2025
|
jaimedcsilva Related