https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

02/11/2022, 9:30 AM
Awesome! You can run any logic (even async logic) in the
createNewSession
function. So accessing the db and then putting that info in the access token payload should work! Btw, when is the info in the db inserted? In the post sign up override or somewhere else?