@rp_st problem with createNewSession, function have second parameter as userId, i dont have userId yet. create with custom userId and recreate session after user auth success? Or i can change userId in exists session?
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).