Hi, is there a way to know how the user signed up ...
# support-questions-legacy
f
Hi, is there a way to know how the user signed up (emailpassword or thirdparty)
r
Hey! You could use the getUserById function and if the returning object has a thirdParty object inside it, or a user who used social login to sign up.
f
Alright... Thanks! Will take a look
Also: is there a way to upload the email of the user?
r
upload or update?
f
update *
lol
r
there should be a function in the backend SDK to do that from the recipe you are using
f
thirdpartyemailpassword
f
Thanks, does this also take care of the email verfication stuff? and does it work with thirdparty accounts?
r
It will trigger the email verification flow after. to do an email verification
This won’t change the email for third party accounts. That can’t be changed unless the user changes it on their social account and relogs in
But if you really want to change the email of the third party account, then you can call the signInUp function with the third party info and the email that you want to use.
f
Thanks, thats everything I need to know 😄