Kisan Helpline: +91 8062180953 (Toll-Free) | Free Delivery on all farm orders above ₹999
Become a Seller / Vendor 100% Original Products

Google OAuth Sign-In

Sandbox & Configuration Guide

Development Environment Notice Google Client ID & Secret are not yet configured in your local .env file. You can instantly test the Google sign-in flow below with simulated accounts or configure your production Google Cloud keys.
Instant 1-Click Google Test Sign-In:

Simulates receiving a verified OAuth token directly from Google:

  1. Visit Google Cloud Console.
  2. Create an OAuth 2.0 Client ID (Web Application).
  3. Set Authorized redirect URI to:
    https://www.gatan.in/auth/google/callback
  4. Add keys to your project's .env file:
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI=https://www.gatan.in/auth/google/callback