Hey Jonny,
Thanks for the reply.
The issue is happening on all mobile devices regardless of the OS or the version. I also checked for allowing cookies and the mobile does allow cookies. I checked the document you have provided and I think it is a little different from what I'm using such as the grant URL. I used this document as reference to write my code (Page 7 exactly).
Moreover, I think it is a session issue. Because when I printed the session in the verifying function I got two completlty different results for verifying by computer and mobile.
Computer session print:
"""
'_token' => 'xxxxxxxxxxxxxxxxxxxxxxxxxx', '_previous' => array ( 'url' => 'https://xxxx.tk/verify-email', ), '_flash' => array ( 'old' => array ( ), 'new' => array ( ), ), 'user_data' => array ( 'nodeMac' => 'xx:xx:xx:xx:xx:xx', 'node_id' => NULL, 'branch_id' => 7, 'device_id' => 11, 'network_id' => 7, 'base_grant_url' => 'https://nxx.network-auth.com/splash/grant', 'continue_url' => 'https://www.bbc.com/news, 'client_mac_address' => 'xx:xx:xx:xx:xx:xx', 'client_device_os' => 'Windows', 'client_device_browser' => 'Chrome', 'client_device_type' => 'desktop', 'client_device_brand_name' => NULL, 'client_ip' => 'xx.xx.xx.xx', 'campaign_id' => 29, ), 'grant_token' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', )
"""
Mobile session print:
"""
'_token' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'user_data' => array ( 'client_mac_address' => 'xx:xx:xx:xx:xx:xx', 'base_grant_url' => 'https://nxxx.network-auth.com/splash/grant', 'client_ip' => 'xxx.xxx.xxx.xxx', ), '_previous' => array ( 'url' => 'https://xxxx.tk/email/verify/126/25422f30b3d58abe2c645fa755f85f19775ff5eb?base_grant_url=https%3A%2F...', ), '_flash' => array ( 'old' => array ( ), 'new' => array ( ), ), )
"""
I'm just speculating here, but I think the reason is the mobile opens a webpage view for the splash page (registration page where 'user_data' data is filled) when connecting to the WiFi. Then when clicking on the verify link in the email it opens in the default browser which causing creating a new session. On the other hand, when connecting to a WiFi on the computer, splash page opens in the default browser and naturally verifying email link will open on the same browser too.
If this is the reason, what is the value, which exist in the old session, that make the computer request works while the mobile doesn't?
Thanks.