Join Discord
Powered by
Hi! I am reading https://supertokens.com/docs/thir...
# support-questions-legacy
m
me_nendez
04/03/2023, 2:32 PM
Hi! I am reading
https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/get-user-info
and
https://github.com/supertokens/core-driver-interface/wiki
. It is possible to obtain the information if the user is logged in via email and password or via social media.
r
rp_st
04/03/2023, 2:34 PM
hey
@me_nendez
The user object returned from the getUserById function call can be inspected to tell you which login method was used. If the user object contains thirdParty prop, then they used social login, else email password.
m
me_nendez
04/03/2023, 2:35 PM
ok
me_nendez
04/03/2023, 2:35 PM
thankss!
Previous
Next