COMMUNITY ARTICLE

Adding Sign-in with Google

Nobody wants to remember another password. Learn how to implement Google OAuth to streamline user onboarding.

### Setting up Google Cloud Console Before writing any code, we need credentials. 1. Go to the [Google Cloud Console](https://console.cloud.google.com/). 2. Create a new project. 3. Navigate to **APIs & Services** > **Credentials**. 4. Click **Create Credentials** -> **OAuth client ID**. 5. You will need to configure the OAuth consent screen first. Fill in the app name and user support email. 6. For the Application Type, choose **Web application**. 7. Add your Authorized redirect URIs (e.g., `http://localhost:5000/callback` for local development). 8. Boom! You now have a Client ID and Client Secret.

Comments (3)

Log in to join the discussion.

Log In
Jun 15, 2026

OAuth always gives me a headache. Thanks for breaking down the GCP console steps, they change it so often!

Jun 15, 2026

Do we need to get verified by Google if we only use this for a class project?

Jun 15, 2026

Nope! As long as you keep the app in 'Testing' mode on the consent screen, you can just add your test users' email addresses manually.