https://supertokens.com/ logo
s

sharma

06/03/2022, 4:20 AM
How to change user email? Recipe: EmailPassword (later I'll move to ThirdPartyEmail recipe, so just want to learn the fundamentals here)
r

rp

06/03/2022, 4:21 AM
There is a function for that in the email password recipe
s

sharma

06/03/2022, 4:24 AM
This covers authentication itself or is it the responsibility of the backend to verify session and match current email first and then call this method?
r

rp

06/03/2022, 4:25 AM
Well. You should call this from an API that does session verification
So you know that the user is logged in and then they are changing their email
s

sharma

06/03/2022, 4:26 AM
Thank you
3 Views