https://supertokens.com/ logo
#support-questions
account linking
# support-questions
p

PoktBlade

05/18/2023, 7:58 AM
For oauth and email password, if someone sign up with different auth providers with same email, is this counted as different accounts? What about if they sign up with email then sign in with their oauth provider email that’s same? Curious what’s recommended behavior here and what flexibility I have
r

rp

05/18/2023, 7:59 AM
hey @PoktBlade they would be counted as different accounts indeed. You have two options here: - Implement account deduplication: https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/deduplication/overview - Or implement account linking (this is a feature we are working on and will be released soon, and will be a paid feature)
p

PoktBlade

05/18/2023, 8:06 AM
Do supertokens have early info they can send me on paid features and pricing ?
Also is thirdpartyemailpassword basically just third party and email and password combined? So I don’t have to call specific functions to grab a user despite account type?
r

rp

05/18/2023, 8:10 AM
> Do supertokens have early info they can send me on paid features and pricing ? The pricing depends on your scale and required features. We can get on a call to discuss this if you like: https://supertokens.com/call-user > Also is thirdpartyemailpassword basically just third party and email and password combined? So I don’t have to call specific functions to grab a user despite account type? Yea. For example, thirdpartyemailpassword.getUsersByEmail(...) will give you a list of users that have the same email for both the login methods.
p

PoktBlade

05/18/2023, 8:14 AM
So if I want email and social login, I am better off just using thirdpartyemail init and not the individual ones. If that all makes sense that’s great - I need to swap to that asap!
r

rp

05/18/2023, 8:16 AM
yup. It's better to use thirdpartyemail init indeed.
3 Views