adding raw user meta data "first_name" while register user
adding raw user meta data "first_name" while register user -- antd
first_namefirst_namefirst_namefirst_namefirst_namefirst_name``
3. **Ensure Correct Package Usage**:
Make sure you are using the correct package for swizzling the auth page. According to the **Discord support thread** (<https://discord.com/channels/837692625737613362/1225014053953470536>), you should be using the ``
3. **Ensure Correct Package Usage**:
Make sure you are using the correct package for swizzling the auth page. According to the **Discord support thread** (<https://discord.com/channels/837692625737613362/1225014053953470536>), you should be using the ``
3. **Ensure Correct Package Usage**:
Make sure you are using the correct package for swizzling the auth page. According to the **Discord support thread** (<https://discord.com/channels/837692625737613362/1225014053953470536>), you should be using the package.
By following these steps, you can add the package.
By following these steps, you can add the package.
By following these steps, you can add the insert into public.users (id, full_name, avatar_url, first_name)
values (new.id, new.raw_user_meta_data->>'full_name', new.raw_user_meta_data->>'avatar_url', new.raw_user_meta_data->>'first_name');
return new;
end;
$$ language plpgsql security definer;
create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_public_user(); insert into public.users (id, full_name, avatar_url, first_name)
values (new.id, new.raw_user_meta_data->>'full_name', new.raw_user_meta_data->>'avatar_url', new.raw_user_meta_data->>'first_name');
return new;
end;
$$ language plpgsql security definer;
create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_public_user(); insert into public.users (id, full_name, avatar_url, first_name)
values (new.id, new.raw_user_meta_data->>'full_name', new.raw_user_meta_data->>'avatar_url', new.raw_user_meta_data->>'first_name');
return new;
end;
$$ language plpgsql security definer;
create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_public_user();