Hi, is it possible to get email from the session like user_id? session: SessionContainer = request....
n
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
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.
n
thanks
8 Views