Closed shellscape closed 1 year ago
@shellscape currently things are coupled pretty tightly to Supabase auth as that's used for row-level security for client-side data fetching: https://github.com/vercel/nextjs-subscription-payments/blob/main/schema.sql#L15-L17
It would require pretty significant refactoring as using Auth0 would require all data to be fetched within API routes. So I think potentially a fork would make more sense for that.
hi may i know if the schema.sql is automatically imported to the vercel supabase integration? or do we need to run it on supabase SQL editor in the supabase admin panel?
if the schema.sql is run authomatically, i might deploy my sites from netlify to vercel. since, netlify dont offer this stuff. :)
We're going to stick with Supabase here but feel free to fork if you want Auth0! 🙏
I'd love to see a branch of this with user management via Auth0