Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is possible change deep link to redirect to an App instead of Captive Portal #1734

Open
JonyPower opened this issue Apr 16, 2024 · 3 comments

Comments

@JonyPower
Copy link

First of all thanks to the amazing work with this library!!!
I would like to know how could be possible chage the behavior after login in wifi, instead of redirect to Captive Portal I wanna open my app if it was already instaled or browser to my website if not.

@ateker01
Copy link

If I understand this correctly +1 this...

When the captive portal launches, it redirects to http://192.168.4.1/
how can i change the redirect link to something else? for example .... http://192.168.4.1/wifi? instead

When the credentials are saved, the url directs to http://192.168.4.1/wifisave
how can i change the redirect link to something else? perhaps one URL if the credentials are correct, and another URL if the credentials are not correct

@JonyPower
Copy link
Author

"how can i change the redirect link to something else? for example .... http://192.168.4.1/wifi? instead"
Yeah could be something like this, customize the redirect address page that I could choose the link, like "http://mywebsite.com/nameoftheproject/appstore"

The idea would be for the user to create an account on my App and the App sends the information via http post to be saved on the ESP, such as Firebase credentials or another backend.

@tablatronix
Copy link
Collaborator

You can add your own routes check the SUPER example, not sure how you can override the root/ I have to think about this more but its not hard to poke in the code and change these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants