Hi, I'm using ThirdPartyEmailPassword recipe and is there any possibility to customize the signup re...
v
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
Hey @vishnuwarthan
Please show me what custom response you are sending clearly.
v
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
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.
here is the API spec: supertokens.com/docs/fdi