Hi, I'm using ThirdPartyEmailPassword recipe and is there any possibility to customize the signup response... I facing some issue. Please check the below mentioned screenshot
r
rp_st
03/22/2024, 4:34 AM
Hey @vishnuwarthan
rp_st
03/22/2024, 4:35 AM
Please show me what custom response you are sending clearly.
v
vishnuwarthan
03/22/2024, 6:18 AM
I want to add two key and value in sign up response to the front-end, one is email and another one is user name... If I use this input.options.res.sendJSONresponse I'm getting error in the client side catch ... I'll attach the client side error picture and also what I've changed in backend init function
r
rp_st
03/22/2024, 6:19 AM
i mean, you have to also send the stuff our frontend expects to get. You are not conforming to our API spec in your response, so how do you expect the frontend to not error out.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).