email part, isn't the email/ password auth handled by me?
Specifically asking because Golang backend has both
emailpassword
and
thirdpartyemailpassword
recipes
r
rp_st
04/01/2023, 2:15 PM
hey @volks_123
Having the thirdpartyemailpassword recipe means that users can log in using both third-party providers (such as Google or Facebook) and email/password. The email/password authentication is still handled by SuperTokens, but it is integrated with the third-party authentication flow. On the other hand, having both emailpassword and thirdparty recipes means that users can only log in using either email/password or third-party providers, but not both at the same time (from a UI point of view that is)
rp_st
04/01/2023, 2:16 PM
so the UI for thirdpartyemailpassword will have both the options, unlike just emailpassword or just thirdparty recipe
v
volks_123
04/01/2023, 2:18 PM
Hmm, so basically since I am using React Native and am creating my own UI, it doesnt really matter which one I use?
r
rp_st
04/01/2023, 2:26 PM
yea. then it doesn't matter
rp_st
04/01/2023, 2:27 PM
i mean.. it kind of does in a way
rp_st
04/01/2023, 2:28 PM
for example, if you call getUserById in emailpassword recipe, it will only search for emailPassword users.
Whereas if you do thirdpartyemailpassword.GetUserById, it will search across both the sub recipes.
So it makes it easier to use thirdpartyemailpassword
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).