I am developing a mobile application using Flutter, and i have the web version using angular, and the back is using nodejs.
For some reason, i want to do the following work flow: When the user is logging in, the application should redirect him to the web application, login in in the browser, and then bring him back to the application.
The reason behind that, is my application implement the 2FA using hardware keys, which can be used only on the domain name they are registered in.
I tried to work with url launcher, also the web widget. However i can go from the mobile application to the browser, login, but i cannot come back from the web to the mobile application.
The best way to do it is using Deep Linking, This article will help.