auth
auth copied to clipboard
Anonymous signIn creates a new user on every start (Flutter, iOS, Android)
Describe the bug
Anonymous signIn creates a new user in auth.table everytime I restart the app. Same behaviour on iOS and Android
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Run this Flutter code on app start.
Supabase.instance.client.auth.signInAnonymously();
Expected behavior
I expected the behaviour to be like in Firebase, where there will only be one user per device with anonymous signin.
Screenshots
Here you can see a screenshot of the auth.users table
System information
- Flutter 3.24.4
-
supabase_flutter: ^2.7.0
Additional context
Add any other context about the problem here.
Have the same issue with a react native app.