Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1546

Supabase SignUp Function with Sveltekit

$
0
0

I am making a register site using sveltekit and supabase until now i have been able to successfully save a user to the database but now i also want to save a displayname and a phone number into the supabase authentication table:These are the authentication table columnsthis is what i tried up until now but it hasnt worked:

const { data: signUpData, error } = await supabase.auth.signUp({      email: email,      password: password,      phone: phonenumber,      displayname: username,      options: {        // data: { username: username },        emailRedirectTo: `${url.origin}/auth/callback`      }    });

Viewing all articles
Browse latest Browse all 1546

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>