passport-magic-login
passport-magic-login copied to clipboard
What happen, when i open the link on phone?
Hi @mxstbr thank you very much for this passport strategy to support magic links. I would like to use it in my webapp. But what would happen if the user opens the link on phone instead of desktop? Would the user still be logged in on the desktop because he sent the request from there?
The user would then be logged in on their phone, but not on their desktop. Syncing both, though possible, would be considerably harder.
I am having the same issue were you able to solve it @niklasgrewe. I have a method in mind, but I'm not sure if it's the best one. i checked network logs of splitbee the site from wich this stratagy is extracted and they have multidevice support their webapp polls for the status of token is if authenticated