Hi! I am reading https://supertokens.com/docs/thir...
# support-questions-legacy
m
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
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
ok
thankss!