Auth.js Muti-device Support

I'm implementing auth right now in a site that the user will likely be switching from mobile to desktop with frequently. I wanted to make sure that just because they do this their JWT is not going to just expire and force them to log back in when they swap devices. Thanks!
Solution:
the client can have multiple devices signed at the same time
Jump to solution
8 Replies
Neto
Neto2y ago
I don't think auth.js suppots native apps currently
Liam
LiamOP2y ago
Not native apps, just switching between using the site on desktop v.s mobile
Neto
Neto2y ago
cookies/local storage is per device
Liam
LiamOP2y ago
Yeah, I just didn't know if by logging in on another device it would invalidate the other JWT or not. If its per device, it shouldn't then right?
Neto
Neto2y ago
No
Solution
Neto
Neto2y ago
the client can have multiple devices signed at the same time
Liam
LiamOP2y ago
Great, thanks!
Neto
Neto2y ago
clerk as example, you can see multiple logged-in devices
Want results from more Discord servers?
Add your server