https://supertokens.com/ logo
Title
a

Abhi

01/11/2023, 5:46 PM
In overriding thirdPartySignInUpPOST, I would like to return an object if pre-check returns false else return
response originalImplementation.thirdPartySignInUpPOST(input)
. On doing this, I get an error:
Cannot read property 'status' of undefined
. I know reason behind this but still require to send an object to the client when the pre-check fails. How do I achieve this thing?
r

rp

01/11/2023, 5:53 PM
hey @Abhi
which recipe are you using?
a

Abhi

01/11/2023, 5:53 PM
ThirdPartyPasswordless