nextjs-subscription-payments icon indicating copy to clipboard operation
nextjs-subscription-payments copied to clipboard

User Management with Auth0

Open shellscape opened this issue 4 years ago • 2 comments
trafficstars

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

shellscape avatar Aug 01 '21 22:08 shellscape

@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.

thorwebdev avatar Aug 13 '21 07:08 thorwebdev

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

goldcoders avatar Oct 25 '21 00:10 goldcoders

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

leerob avatar Jan 16 '23 16:01 leerob