Re:Supabase Auth supports anonymous sign-ins
by justanotheratom on Wednesday April 17, 2024 @12:41PM
(#40067123)
I wonder how anonymous user sign-in info is persisted on the client. Specifically, I want to know whether re-installing the App will make it forget the previous anonymous sign-in.
Re:Supabase Auth supports anonymous sign-ins
by kangmingtay on Wednesday April 17, 2024 @10:17PM
(#40072299)
supabase auth stores your users in the same database created, just in a separate schema so you have full access to it to perform joins or enforce referential integrity.
Re:Supabase Auth supports anonymous sign-ins
by jemmyw on Wednesday April 17, 2024 @08:18PM
(#40071604)
Well, damn. I put effort into making a thing that could be tried out by anonymous users but still had RLS policies and now they've provided a solution that would have made the whole thing heaps easier.
in a web app, we store this stare in either local storage / cookies
in a mobile app, this state is stored in the local storage equivalent - SharedPreferences for android and NSUserDefaults for IOS
I wonder if that means Supabase can solve the (separate) user storage problem[1].
[1]: https://threadreaderapp.com/thread/1651434348174778370.html
FaunaDB also integrates DBaaS with their auth, but FaunaDB is a very different DB that doesn't work with standard SQL.
And FaunaDB doesn't have support for anonymous users!