Hey folks,
I'm implementing account deduplication in an application using the thirdpartyemailpassword recipe and I wanted to change the error message displayed to reflect if the users existing account is email/password or the name of the social provider they signed up with as mentioned in the documentation. I can just add some extra logic to the range to handle that part but, what is the best way to to pass the information along in the SignUpResponse so it can be used in the ThirdPartySignInUpPOSTResponse?
Thank you
r
rp_st
02/19/2024, 11:40 AM
hey @jmark
rp_st
02/19/2024, 11:40 AM
you can pass in sign_in_up_not_allowed status along with a reason string
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).