RESCUEFlutterFirebaseGoogle CloudLive App50K+ USERS RESTORED

Bhagavad Gita — Auth Rescue

Diagnosed and fixed a production-only Google Sign-In failure that had locked out 50,000+ users — tracing it to OAuth and Firebase misconfiguration, then restoring login on the live app.

Bhagavad Gita — Daily wisdom app
App screen
App screen
ROLE
Flutter Engineer (Contract)
DURATION
Delivered Feb 2025
PLATFORM
Android · Google Play
STATUS
Resolved · ★ 5.0
01 — Challenge

Google Sign-In worked perfectly in development — and failed silently in production, locking out 50,000+ users.

A live Bhagavad Gita app with over 50,000 users had its Google Sign-In break in production mode only — working fine in development, failing for real users. Tens of thousands could no longer log in.

Debugging an auth failure that only reproduces in a live environment is the hard kind: no easy local repro, real users affected, and a root cause buried in OAuth, API, and token configuration rather than the app code itself.

02 — Process
PHASE 01

Investigate the production-only failure

Dug through logs and debugging tools to analyse the sign-in failure, then worked through the suspects — OAuth settings, API restrictions, and token handling — to narrow down why production behaved differently from development.

PHASE 02

Find the misconfiguration

Traced the root cause to misconfigurations in the Google Cloud Console and Firebase Authentication settings — the real reason, not a surface-level patch on the app code.

PHASE 03

Fix, test & restore

Applied the correct OAuth credentials and adjusted API permissions for production, then tested thoroughly across both development and production until sign-in was stable — restoring access for 50,000+ users.

03 — Screens
The live app — 50,000+ users reading the Gita anytime, anywhere
The live app — 50,000+ users reading the Gita anytime, anywhere
Audio commentary in Hindi & English for a large, global user base
Audio commentary in Hindi & English for a large, global user base
A polished reading experience, light and dark — the product behind the rescue
A polished reading experience, light and dark — the product behind the rescue
04 — Features
DIAGNOSIS
Production-only bug, root-caused
Reproduced and analysed a failure that only appeared in production — working through OAuth, API restrictions, and token handling to find the true cause.
ROOT CAUSE
OAuth & Firebase misconfig
Pinpointed misconfigurations in the Google Cloud Console and Firebase Authentication settings, then corrected the OAuth credentials and API permissions.
TESTING
Verified in dev and prod
Tested the fix thoroughly across both development and production environments to ensure sign-in stayed stable before real users relied on it.
OUTCOME
50,000+ logins restored
Brought a large, active user base back online and improved authentication reliability and security — with a ★ 5.0 client review.
05 — Results
50K+
Users restored
★ 5.0
Client rating
OAuth
Root cause fixed
Live
On Google Play
NEXT PROJECT
FLUTTER · OSRM · IOS + ANDROID
Trevola — Route Generator
Generates a real, navigable route of an exact distance inside chosen countries — OSRM pathfinding, maps, and trip planning.
↗