Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

External portal : iOS user keeps the portal window open instead of validating connexion #161

Closed ronan-paul closed 2 years ago

ronan-paul commented 2 years ago

Hello

We have set an external portal using UniFi-API-client.

A popup window opens automatically on our external portal when the user connects to the WiFi for the 1st time, and we authorize the mac address after a successul login on our portal. But the popup window remains open for some peripherals.

For example: 1 - on iOS the popup stays open, which apparently means that iOS does not consider the connexion completed. And the user can click on the "cancel" button of the popup, which closes the WiFi connexion (see screenshot) image The event log shows seems OK:

image

2 - on macOS, I also get the same problem:

image

The event log shows that everything is OK:

image

=> Am I missing something ? What should I do so that the connexion is considered as complete by the client computer ?

Regards,

Ronan

malle-pietje commented 2 years ago

From what I see the API client is working fine (as confirmed by the event log) which means something else isn’t working as it should. I’m afraid this is something I cannot provide support for through this repository; building a stable captive portal solution isn’t always as easy as it seems.