Hotspot Mikrotik authorization via phone CNA. Problems with Apple devices.

Good afternoon.

I’m creating a Hotspot Linux + Mikrotik with phone‑based authorization.. I’ve run into a problem with authorization on Apple devices. First, when scanning the QR code from an Android device, everything works perfectly: the authorization page opens, we enter the phone number, then a call is made to the phone number, the call is confirmed, and a page with a successful connection is displayed. I also tested it on a laptop, and everything works fine there. However, it doesn’t work with Apple devices: when scanning the QR code in automatic mode, it simply refuses to open the authorization page (if you manually tap on the Wi‑Fi connection, the page opens). Second, at the moment of the call, the Apple device closes the window with the open page and doesn’t return to it; accordingly, there’s no “Connect to network” button. And the iPhone can’t connect to the guest network.

DHCP option 114 is enabled. The certificate is valid. It seems like all the conditions have been met.

Surely someone has already run into this problem. Please tell me how to resolve the issue with Apple devices. Are there any mechanisms that allow you not to close this window or to bring it back? Or is there some other way to handle phone number verification?

Thank you.

when scanning the QR code in automatic mode, it simply refuses to open the authorization page (if you manually tap on the Wi‑Fi connection, the page opens)

iPhones since ever often do not show the Captive Portal if scanning a WiFi QR code. It creates a known network using thee QR code data, but the captive portal opens not before the WiFi is tapped in the Wifi settings. Not sure if this is a bug or a feature.

Second, at the moment of the call, the Apple device closes the window with the open page and doesn’t return to it;

For security reasons, iPhones show WiFi Captive Portals in a specialized modal browser window (CNA Websheet) which is a child window of the settings app. If settings goes into background for the incoming phone call, the modal child window gets closed. There is no other way to bring it back than tapping the network again in WiFi settings.


Through experimentation, I discovered that if you scan the code using the camera app, the authorization page won’t open until you manually launch a web browser.
However, if you use the system’s dedicated QR code scanner app, everything works as expected and the page opens. I’ve verified this on several Apple devices.
The router settings remain unchanged throughout this process.
I even set up another Hotspot on a second MikroTik device (reset to factory defaults), but the situation remained the same.
Apple devices are certainly not very user-friendly in this regard—whereas with Android, everything works perfectly!