how to expire an old session while new session was created ?
r
rp_st
04/17/2023, 6:08 AM
you can override the createNewSession function and call revoke session on all the sessions that belong to the user ID before calling the original implementation.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).