The problem Tap2Wifi solves
🛠️ The Problem It Solves
-
Tedious WiFi Onboarding:
In public spaces like cafés, airports, or coworking spaces, connecting to WiFi is often slow and awkward. Users must ask staff for passwords, fill out lengthy captive portal forms, or struggle with inconsistent login methods. This wastes time and creates a poor experience. -
Insecure WiFi Access:
Traditional WiFi authentication methods (shared passwords, open networks) expose users to security risks such as eavesdropping, session hijacking, and unauthorized access. Passwords are often reused, shared widely, or left unchanged for long periods. -
Privacy Risks:
Many captive portals require users to hand over personal information (emails, phone numbers) which is often stored insecurely or sold to third parties, violating user privacy. -
Payment Friction:
Paying for premium or extended WiFi is typically clunky—cash counters, card swipes, or difficult online payment flows. Linking payment directly and securely to the user session is rarely done well. -
Connectivity Interruptions:
Travelers and commuters often lose their connection when moving between hotspots, passing through weak coverage areas, or when networks require frequent re-authentication. This disrupts productivity and can cause important data to be missed or lost.
✨ What People Can Use It For / How It Makes Life Easier and Safer
-
Instant, Hassle-Free WiFi Access
Just scan a QR code or tap to connect—no passwords or forms. Users are online in seconds, improving satisfaction and reducing support workload for venue staff. -
Private, Decentralized Authentication
With Civic OAuth, users prove their identity securely without handing over sensitive data. They choose what information to share, and venues never store or see unnecessary personal details. -
Seamless Digital Payments
Users can pay for WiFi access or data top-ups using UPI, a fast and secure method familiar to millions. Payments are linked to their authenticated session, ensuring the right access level is granted immediately after payment. -
Always-On Connectivity with AI
Gemini AI predicts the user's likely travel route and potential connectivity blackspots. It pre-downloads key data (maps, emails, entertainment), so users stay productive and entertained even when moving between hotspots or through low-signal zones. -
Safe, Role-Based Access
The backend assigns network permissions based on user identity and context (e.g., guest, staff, admin), reducing the risk of unauthorized access and network abuse. -
Better Analytics and Monetization for Venues
Venue owners and IT admins can see anonymized usage analytics, automate payments, and customize access policies—all while respecting user privacy. This enables smarter marketing, better resource allocation, and new revenue streams. -
Reduced Security Risks
By eliminating shared passwords and using secure, token-based authentication, the system drastically reduces opportunities for credential theft, rogue access points, and other WiFi-related attacks. -
User Empowerment and Control
Users remain in charge of their data and identity. They can see what is shared, revoke access at any time, and trust that their privacy is protected by design.
In summary:
This project transforms WiFi connectivity from a source of frustration into a seamless, secure, and intelligent user experience—benefiting both end users and providers, while setting a new standard for privacy and convenience in public and enterprise networks.
Challenges we ran into
Tap2Wifi – Challenges & Resolutions Summary
🚀 Frontend Challenges
link - github repo
1. Permissions & Places API Integration
- Milestone: Integrated device permissions & Places API.
- Challenges:
- Handling platform-specific permissions and user denial flows.
- Managing API popups and error states gracefully.
2. Search & Nearby WiFi Features
- Milestone: Added SearchCustomLocation and WifiNearbyFromCurrentLocation screens.
- Challenges:
- Dealing with user errors (e.g., disabled location services).
- UI needed to respond to no WiFi found / API failure scenarios.
- Production API migration brought breaking changes and bugs.
- Merge conflicts, especially in binary files like .flutter-plugins-dependencies, posed risks.
3. Branch Merge Complexity
- Merge Insight:
- The dev to [main] merge brought in non-source-controlled files like Chrome user state under [.dart_tool/chrome-device/Default].
- Updated metadata in [.flutter-plugins-dependencies and added [.magicodeconfig].
- Team Coordination:
- Frontend contributors worked in feature-based dev branches, carefully merging changes to [main] after peer reviews.
- Automated and manual checks were used to filter out build artifacts and system caches from commits.
.
🛠 Backend Challenges
link: github-repo
1. Handlers & Routes Refactor
- Challenges:
- Moving from global state to dependency-injected modular Handlers.
- Rigorous input validation to protect DB integrity.
- Geospatial queries tuned via Haversine & MongoDB operators ($geoWithin, $centerSphere).
- Consistent error responses (e.g., 409 Conflict for duplicates).
2. Authenticator Middleware
- Challenges:
- Adapting to httprouter required custom middleware wrappers.
- Transition from test token (Bearer testtoken) to OAuth PKCE.
- Handling CSRF protection, code challenges, and redirect URIs.
- Planning extensions like AuthMe and AuthUpgrade for future session control.
3. Cloud Deployment
- Challenges:
- Safely managing env secrets (godotenv locally, os.Getenv in prod).
- Creating a singleton MongoDB client to avoid race conditions.
- Aligning with cloud-specific bindings (e.g., port 8080) and logs.
- Ensuring OAuth redirect URL precision for Civic.
Tracks Applied (3)
Authenticate with Civic Auth
Civic Technologies
Best use of Gemini API
Major League Hacking
Best Use of MongoDB Atlas
Major League Hacking


