I’m updating my site to only use magic links for logging in. I’m wondering if there’s a way to test session expiry for users. Is that data stored anywhere that we can access, or is it set in a cookie?
Reason being ‘sign the user in’ workflow action allows you to set the ‘stay logged in’ value to keep the user logged in for greater than 24 hours.
I was going to do something like this:
- user requests magic link
- on success, navigate to their profile page
- on page load of the profile, use the ‘set temp password for current user’, then ‘log the user in’ and check the ‘stay logged in’
In the future I want to add code verification over text and/or faceID/TouchID. I will also likely have a mobile app at some point.