vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.77k stars 1.18k forks source link

Use full_name from user metadata Supabase Auth instead of users table. #310

Open mdichtler opened 4 months ago

mdichtler commented 4 months ago

NameForm.tsx is saving name changes using updateName function to supabase auth, not the database, hence the UI should display this value instead of the database value. Currently there is no sync between the two.

Alternative solution would be to remake the updateName function to use database instead, but it seems like it was type on the account page side.

vercel[bot] commented 4 months ago

Someone is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.