Hello All.. I have the same issue. This is the not a Mikrotik issue. This is a OS Android issue. By default browser on the the Android device it will do that/ Don't ask why but there is NO fix at all for that.. Do this..Same problem here on late IOS and stock android 6 devices.
Anyone with a smart idea?
Good afternoon got a solution? I have the same problemHello.
Have got the hotspot on mikrotik routerboard, that redirects to the external page after login. On ios it works well, user scrolls the captive portal page, authenticates and gets redirected to the external page. On android got an issue - after opening the notification of wifi session, android opens the captive portal and after authentication, while gets the redirection, popup browser closes automatic. Need to prevent from automatic close and show redirected page after the success authentication.
Used to try to add deny rules to wallet garden and firewall of clients3.google.com, but no success.
What kind of solution could be applied for this type of issue? Did somebody tried to use ajax instead of redirection?
Thank you for your attention.
And when it cant reach the link it will popup a sign in option in your mobile. Its all by design. And if you sign in through that pop up by clicking on it it will take you to the internal browser which is hardcoded in android . This is not the default Browser or any custom browser. So changing the default browser to Chrome will not help.connectivitycheck.gstatic.com
add action=accept disabled=no !dst-address !dst-address-list dst-host=connectivitycheck.gstatic.com
so what is a work aroundI found a way around this. It works like charm and have no issues.
/ip proxy access add action=deny dst-host=connectivitycheck.gstatic.com
:delay 5 /ip proxy access add action=allow dst-host=connectivitycheck.gstatic.com src-address=$address place-before=0
/ip proxy access remove [find src-address=$address]
<meta http-equiv="refresh" content="10; url=$(link-orig)">
Sorry been a while since Ive been on and had to look back as we no longer needed this anymore but what I did was have an address list called LoggedIN which was then part of a fw rule that blocked all traffic to that .gstatic URL. If you were not in the LoggedIN list it wont block you. So after you log in the hotspot the on login option ran the script that added the IP address of the client to the LoggedIN list with the comment of its mac address. This then allowed the device to have the internet to get my post auth page but kept blogging the .gstatic URL so the captive portal would stay open and you would see your post auth page. Then after 15 seconds it would auto-remove the Users IP from the FW list and then the captive portal page would disappear. It was all a timing thing but seemed to work 80% of the time. As I said have not gone back to it in some time so URLs may have changed that need to be blocked.can you explain what you did there?
I can't seem to understad the logic
I have the same problem -
I want to redirect my users to my page after login - but the captive portal is turn off after login
did you mange to "Fix" this problem ?