Is there a way to add more infromation on sign-up?

I'm trying to add a new field in the user signup aside from the defaults. I wanted to add a field like invitedBy on the client, something like this:
await authClient.signUp.email({
name:,
email:,
password:,
invitedBy:
});
await authClient.signUp.email({
name:,
email:,
password:,
invitedBy:
});
which I can use in the user creation process to use this field and add it on a record this on a different table.
1 Reply
nikatune
nikatune2mo ago
you can use additionalFields

Did you find this page helpful?