Kaluna started a new conversation+100 XP
4mos ago
Hey everyone,
I've scoured the internet trying to find a solution to this.
So, I am creating a "magic login link" like so:
$url = URL::temporarySignedRoute('login.token', now()->addHour(), ['user' => $user->id]);.
This works fine on desktop—but once the PWA is downloaded, it doesn't work (it does on Chrome, locally mind).
I've tried using protocol urls (web+myapp...). I've tried using a "heartbeat" to check an endpoint to see if the current session is active/logged in—but neither option works reliably enough—or at all.
So, I am hoping that somebody here has a suggestion of how I can get this to work? The idea of the passwordless login, is that the end user can get onto the app quickly so as to reduce friction, as the idea of the app is a "task" manager for mechanics—where time (and patience) is in short supply.
Any suggestions hugely appreciated.