Would the best way to implement sessions with supertoken be to send the supertoken(that we usually send using cookies) in the header of socketio requests, or does a better way exist?
r
rp_st
03/17/2023, 2:02 PM
hey @hamsterDog
rp_st
03/17/2023, 2:03 PM
you should enable the jwt feature with sessions, and send just the jwt in the socket connection, and not the session's access token.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).