I’ve coded myself into a corner here
My app has two clientele – admins and users. The admins use Supabase social login to connect and purchase. The users use phone SMS msgs & cookies to authenticate and use a limited subset of the app.
These to auth methods are colliding with one another fatally.
Splitting the app would solve all my problems, and create a new one.
How/where would I define my database and how will I share it’s use between the two apps?
Mentally probing the concept of two Prisma installations is spraying red flags across the thought patterns.
This is the first time I’ve ever tried to mix two authentication methods in one app – and it is NOT working well…
- spock, devil in the dark
Also, I’ll have to maintain shared code between the two apps…
Thanks for any thoughts and ideas you can come up with !