Providing additional fields when signing up via magic link

Hey there, when I sign up via magic link from the client with the code below I'm not able to pass custom / additional user fields (i.e. firstName, lastName). Or do I miss anything?

const { error } = await authClient.signIn.magicLink({
email: data.email,
callbackURL: returnUrl,
name: ${data.firstName} ${data.lastName},
})
Was this page helpful?