[GH-ISSUE #1734] Question: Is possible change deep link to redirect to an App instead of Captive Portal #1469

Open
opened 2026-02-28 01:30:12 +03:00 by kerem · 3 comments
Owner

Originally created by @JonyPower on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1734

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.

Originally created by @JonyPower on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1734 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.
Author
Owner

@ateker01 commented on GitHub (Apr 16, 2024):

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

<!-- gh-comment-id:2058240156 --> @ateker01 commented on GitHub (Apr 16, 2024): 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
Author
Owner

@JonyPower commented on GitHub (Apr 17, 2024):

"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.

<!-- gh-comment-id:2061193763 --> @JonyPower commented on GitHub (Apr 17, 2024): "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.
Author
Owner

@tablatronix commented on GitHub (Apr 20, 2024):

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

<!-- gh-comment-id:2067521833 --> @tablatronix commented on GitHub (Apr 20, 2024): 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1469
No description provided.