Vaiva
12/15/2022, 4:36 PMuserContext:{ firstName: firstName}
rp
12/15/2022, 4:37 PMVaiva
12/15/2022, 4:43 PMrp
12/16/2022, 11:54 AMVaiva
12/16/2022, 12:18 PMAre you sending too many / too few formFields?
. So it looks like Supertokens doesn't allow to change request body?rp
12/16/2022, 12:18 PMVaiva
12/16/2022, 12:49 PM{formField: [...], additionalInfo: [...]}
. But how can I access additionalInfo in the backend? input
only gives me {type: "...", user: {id: ... , email: ... }, emailVerifyLink: "...", userContext: {...}}
. when I printed userContext._default.request
I got massive object but nowhere additionalInfo
🤔rp
12/16/2022, 12:51 PMawait userContext._default.request.getJSONBody()
. The type of request is this: https://github.com/supertokens/supertokens-node/blob/master/lib/ts/framework/request.ts