I am working on a web application where I want to provide a WiFi connection to users after they complete an OTP verification process. Here’s a breakdown of what I’m trying to achieve:
User scans a QR code, which takes them to a webpage.
On the webpage, the user enters their mobile number and receives an OTP.
The user inputs the OTP for verification.
Upon successful verification, the user’s device should automatically connect to a specified WiFi network for 30 minutes.
What I Have So Far:
I have set up the webpage where the user can enter their mobile number and receive an OTP.
The OTP verification process is working correctly.
What I Need Help With:
I am stuck on how to automatically connect the user’s device to the WiFi network after the OTP verification. I am unsure of the best approach to achieve this and whether it’s possible to do this purely through web technologies
stan dk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1