login with eos redirect to browser in mobile problem

let say i set AccountCredentials.type to accountportal , when calling this function ‘EOS_Auth_Login’ located in eos_auth.h it will perform the login and opening the browser for login ,

but in mobile that a problem for me because when the players want to login they get redirect to their browser , and if they have low end device the game will restart when the login finish so they can never login

i wanna know who is responsible for opening the browser (is it the eos sdk without possibility to control it ) ,
if it is possible i wan’t to get the auth link without redirecting manualy to the browser and i will create custom browser window like popup or somthing inside the game