9 ms·
Supabase Auth supports anonymous sign-ins
- justanotheratom 2y agoI 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.
- kangmingtay 2y agore-installing the app will remove any locally persisted state - which includes the anonymous user’s sign in info 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
- xytofs 2y ago[flagged]
- deleted 2y ago[deleted]
- Leftium 2y agoSupabase also offers data (DB as a service). I wonder if that means Supabase can solve the (separate) user storage problem[1]. [1]: https://threadreaderapp.com/thread/1651434348174778370.html https://threadreaderapp.com/thread/1651434348174778370.html
- kangmingtay 2y agosupabase 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.
- Leftium 2y agoCool! Now I know at least two auth services that don't have this user storage problem. 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!
- jemmyw 2y agoWell, 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.