Recommended Auth Solution for Supabase app?
Greetings, folks!
I'm working on a 'first app' using SolidJS as a front-end, wanting to use Supabase for a backend.
My original planw as to use BetterAuth for an authentication solution and store the data on Supabase...but now i'm trying to implement RLS with BetterAuth and it's proving to be pretty confusing.
Is it possible to use Supabase's RLS alongside BetterAuth's authentication, or am I better off not using it at all? I read that I could probably just enable RLS on all tables and set no rules to completely lock things down client-side and ONLY manipulate the DB using the Admin part of
I'm more or less just trying to decide if maybe I should just swap to using Supabase's built-in authentication instead? Was trying to sort of avoid locking stuff in (just because I'm new to this stuff and like the idea of being able to swap things if needed)...but I also feel like maybe just doing that to get going ASAP is better for a first REAL project (that I plan to eventually make public).
Thanks in advance!
I'm working on a 'first app' using SolidJS as a front-end, wanting to use Supabase for a backend.
My original planw as to use BetterAuth for an authentication solution and store the data on Supabase...but now i'm trying to implement RLS with BetterAuth and it's proving to be pretty confusing.
Is it possible to use Supabase's RLS alongside BetterAuth's authentication, or am I better off not using it at all? I read that I could probably just enable RLS on all tables and set no rules to completely lock things down client-side and ONLY manipulate the DB using the Admin part of
supabase-js using server-side APIs?I'm more or less just trying to decide if maybe I should just swap to using Supabase's built-in authentication instead? Was trying to sort of avoid locking stuff in (just because I'm new to this stuff and like the idea of being able to swap things if needed)...but I also feel like maybe just doing that to get going ASAP is better for a first REAL project (that I plan to eventually make public).
Thanks in advance!