Signing in with Google is faster — no more unnecessary database lookups for new users.
When someone signs up to NavEd using Google for the first time without an invitation link, our system was quietly running 36 extra database queries in the background trying to find invitation data that didn't exist. The signup itself succeeded, but those extra round-trips added over a second of unnecessary processing time on every organic Google OAuth signup.
We've added a guard that detects uninvited signups immediately and skips the database scan entirely. Invited users are unaffected — their invitation data is still found and applied correctly.
Fixes and Improvements¶
- Organic Google sign-ups no longer trigger an unnecessary cross-school database scan
- Added self-healing: stale invitation routing records are now corrected automatically on first login