Social Auth - Google Cloud Platform - Part 2



Configuring Google Cloud Platform
to generate auth credentials

 

  1. https://console.cloud.google.com/
    Login in Google Cloud Platform
     
  2. Create a project by: Select Project(Navbar) → New Project(Right Top corner)
    Choose Name and Save
     
  3. Go to: Navigation Menu(Left Top hamburger) → APIs and services
    Or access directly through: https://console.cloud.google.com/apis/
     
  4. From the left side menu select Credentials
     
  5. From the APIs and services navbar click the dropdown + CREATE CREDENTIALS
    and select OAuth Client ID
     
  6. 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/
     
  7. 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
  • Social Auth - Setting up - Part 1
  • Social Auth - Google Cloud Platform - Part 2
  • Social Auth - Google Login - Part 3
  • Social Auth - Facebook Developers - Part 4
  • Social Auth - Facebook Login - Part 5
  • Social Auth - SOCIAL_AUTH_PIPELINE - Part 6

  • Buy Me a Coffee