Join Discord
Powered by
good morning. i am using email/password login and ...
# support-questions-legacy
s
snackdex
09/22/2023, 12:39 PM
good morning. i am using email/password login and i want to add the email to the token. i believe i am supposed to use this, but my python skills are not as great as they should be, so i'm unsure how to access the email field. would it be in the user_context:
https://supertokens.com/docs/emailpassword/common-customizations/sessions/claims/access-token-payload#during-session-creation
r
rp_st
09/22/2023, 1:45 PM
you can get the email from the user ID, but using the get_user_by_id function from your recipe
Previous
Next