Is it possible to access the email address that the user used to signup/sign in with at the session ...
j
Is it possible to access the email address that the user used to signup/sign in with at the session initiation on the backend?
r
Hey!
you mean when you override the createNewSession function on the backend?
j
I can get the userId through the input object
Yes exactly
Because I would like to send that email along to another service of mine
r
right yea. The recipe you use, should have a
getUserById
function which you can call with the userId. The return of that is an object that should contain the email
j
yeah, worked like a charm thanks a lot!
r
great 🙂