When hitting 'auth/signinup/code/consume' I want t...
# support-questions
w
When hitting 'auth/signinup/code/consume' I want to send additional info like name and consume the same in backend. I'm using api override but any additional parameters I pass are filtered out
I'm sending { "deviceId": "0+DSjPKuOg9onHT5t4J9pyK9EyGkCAel+nb6yxnF/Jk=", "preAuthSessionId": "0ng7fjcwYqVFvWyknBMT0WDsVVh-pv22x4Jxp12fUmk=", "userInputCode": "775001", "firstName": "Saurabh" }
Copy code
{
  "deviceId": "0+DSjPKuOg9onHT5t4J9pyK9EyGkCAel+nb6yxnF/Jk=",
  "preAuthSessionId": "0ng7fjcwYqVFvWyknBMT0WDsVVh-pv22x4Jxp12fUmk=",
  "userInputCode": "775001",
  "firstName": "Saurabh"
}
firstName is not part of input variable in override : {apis ...}
r
You can access the original request object to read the custom fields in your input body
You can get access to the request object like input.options.req.original
w
Thanks a lot
2 Views