phacies
10/17/2022, 8:09 PMrp
10/18/2022, 5:21 AMphacies
10/18/2022, 7:08 AMrp
10/18/2022, 7:14 AMphacies
10/18/2022, 10:57 AMrp
10/18/2022, 11:27 AMphacies
10/18/2022, 11:35 AMrp
10/18/2022, 11:36 AMphacies
10/18/2022, 11:38 AM{
"formFields": [
{
"id": "email",
"value": "courageagbenyegah@yahoo.com"
},
{
"id": "password",
"value": "6GZ8zYZ88S7LZiW"
},
{
"id": "firstName",
"value": "courage"
},
{
"id": "lastName",
"value": "kekeli"
},
{
"id": "mobileContact",
"value": "5788958"
}
]
}
rp
10/18/2022, 11:39 AMphacies
10/18/2022, 11:40 AMrp
10/18/2022, 11:41 AMphacies
10/18/2022, 11:41 AMsupertokensEmailPassword.init({
signInAndUpFeature: {
signUpForm: {
formFeilds: [{
id: "email"
}, {
id: "password"
}, {
id: "firstName",
optional: true
}, {
id: "lastName",
optional: true
}, {
id: "mobileContact",
optional: true
}]
}
}
}),
supertokensSession.init()
],
let response = await supertokensEmailPassword.signUp({
formFields: [{
id: "email",
value: await values.email
},
{
id: "password",
value: await values.password
},
{
id: "firstName",
value: await values.firstName
},
{
id: "lastName",
value: await values.otherNames
},
{
id: "mobileContact",
"value": await values.mobile
}
]
})
rp
10/18/2022, 11:42 AMphacies
10/18/2022, 11:42 AMrp
10/18/2022, 11:42 AMphacies
10/18/2022, 11:46 AMsignInAndUpFeature: {
signUpForm: {
formFeilds: [{
id: "firstName",
optional: true
}, {
id: "lastName",
optional: true
}, {
id: "mobileContact",
optional: true
}]
}
}
signUpFeature: {
formFeilds: [{
id: "firstName",
optional: true
}, {
id: "lastName",
optional: true
}, {
id: "mobileContact",
optional: true
}]
}
{"message":"Are you sending too many / too few formFields?"}
rp
10/18/2022, 12:37 PMphacies
10/18/2022, 12:39 PMrp
10/18/2022, 12:41 PM