passport-magic-login icon indicating copy to clipboard operation
passport-magic-login copied to clipboard

What happen, when i open the link on phone?

Open niklasgrewe opened this issue 3 years ago • 2 comments

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?

niklasgrewe avatar Apr 25 '21 18:04 niklasgrewe

The user would then be logged in on their phone, but not on their desktop. Syncing both, though possible, would be considerably harder.

merelinguist avatar Apr 29 '21 14:04 merelinguist

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

SahilMahadwar avatar Sep 05 '22 14:09 SahilMahadwar