hey everyone i am having issues with Sveltekit + S...
# off-topic
e
hey everyone i am having issues with Sveltekit + Supabase is some is able to help me. It is a login / signup issue with Magic Link. TLDR: The link is sent and upon clicking, I am redirected back to the site, however, no user is ever added to the database...
s
Can you please state what error you are getting? what does your solution look like? what have you tried to resolve it?
Sveltekit and Superbase login issue
e
I fixed my issue
Basically, I was confused by magic link auth users werent appearing in the
Profiles
table that supabase has users set up when following the
Svelte quick start guide
. I found out, the users who auth with magic are sent to a separate tab in supabase, and only after a user visits the
Profile.svelte
page and updates their name does the user finally get added to the
Profiles
table. This leads me to my next question....
Is there a way to Automatically add users to the
Profiles
table without having them have to add a name ? ( i.e., whenever the user auths with magic, a new user is created in the table with a random user name ).
The reason I ask is, I want users to login and be able to do things with the app ( which requires them to be in the
Profiles
table, because I will use the user as a FK in another table ), but it is super bad UX to first inform the user that they need to update their name.