vercel / nextjs-subscription-payments

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

User Management with Auth0 #74

Closed shellscape closed 1 year ago

shellscape commented 3 years ago

I'd love to see a branch of this with user management via Auth0

thorwebdev commented 3 years 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.

goldcoders commented 3 years ago

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. :)

leerob commented 1 year ago

We're going to stick with Supabase here but feel free to fork if you want Auth0! 🙏