Hi, there!
I’m using Supabase’s auth in my RedwoodJS app.
I noticed that I cannot add user’s metadata (e.g. full_name) using the signUp’s function from useAuth() hook.
To be more clear, the code below doesn’t add ‘full_name’ in Supabase:
const { user, error: signupError } = await signUp({
email: data.email,
password: data.password
}, {
data: { full_name: data.full_name }
})
It works using the ‘client’:
const { user, error: signupError } = await client.auth.signUp({
email: data.email,
password: data.password
}, {
data: { full_name: data.full_name }
})
Any workaround?
Thanks!