Using anonymous sign-ins
Nowadays, many apps provide the possibility to use an app like a signed-in user, even when not signed in, to be able to test its features and tempt users to sign up. In many cases, that’s done by differentiating between signed-in users and non-signed-in users – this differentiation is a condition that adds complexity to code (as every condition does).
The trick to bypass this differentiation is to create fake users. For instance, using the fake address some-random-hash@user.yourdomain.com
would still create a real account on the system. But then you’d have to make sure that this account is confirmed upfront, so long story short, all of this makes your app’s code convoluted.
Supabase overcomes most of this complexity by allowing you to create users without needing an email. It creates a user with the internal information that this user is anonymous. Using supabase.auth.signInAnonymously().then(({ data: { user, session } }) ...