rp
02/10/2022, 5:16 AMget_user_by_id
function to get the user's info which contains the email. You would essentially verify the user's session, fetch the user ID from it, and then call get_user_by_id
.
Async version of the function: https://supertokens.com/docs/python/recipe/emailpassword/asyncio/index.html
Sync version: https://supertokens.com/docs/python/recipe/emailpassword/syncio/index.html