Skip to content

🌐 Google Login

Endpoint: GET /api/auth/google/login
Auth Required: ❌ No


πŸ“Œ Description

This endpoint initiates the Google OAuth authentication flow for citizens.

When accessed, the user is redirected to Google’s consent screen where they can choose their Google account and grant permission to CivicEdge.

This login method provides a faster onboarding experience and removes the need for manual email verification.


πŸ” Authentication

No authentication is required for this endpoint.


πŸ” OAuth Flow

  1. Citizen clicks β€œContinue with Google”
  2. Frontend redirects to: