by ishanr on 7/21/22, 5:27 PM with 1 comments
Imba has been a great language choice so far. It makes everything easy.
Now I have added authentication using Supabase, so you can login through Google oAuth or a magic link which allows you to have multiple pads and control if they are publicly viewable / editable or not.
Since Supabase doesn't have anon authentication, it is better to use rpc functions instead of adding policies. That way be default row level security blocks everything and rpc functions control who has access. That way I can prevent "select *" queries.
by opendomain on 7/21/22, 5:30 PM