Hi, is it possible to get email from the session like user_id?
session: SessionContainer = request.supertokens
user_id = session.get_user_id()
email = session.get_email()
r
rp_st
09/19/2023, 11:54 AM
hey @Namratha not by default. But you can add the email to the session payload when it's created and then read it from there later on.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).