Updates user data for a logged in user.
updateUser()
method, the user needs to be signed in first.const \{ data, error \} = await supabase.auth.updateUser(\{
email: '[email protected]'
\})
const \{ data, error \} = await supabase.auth.updateUser(\{
phone: '123456789'
\})
const \{ data, error \} = await supabase.auth.updateUser(\{
password: 'new password'
\})
const \{ data, error \} = await supabase.auth.updateUser(\{
data: \{ hello: 'world' \}
\})
const \{ data, error \} = await supabase.auth.updateUser(\{
password: 'new password',
nonce: '123456'
\})