auth icon indicating copy to clipboard operation
auth copied to clipboard

Anonymous signIn creates a new user on every start (Flutter, iOS, Android)

Open josefwilhelm-innio opened this issue 1 year ago • 1 comments

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

CleanShot 2024-10-09 at 08 37 09

System information

  • Flutter 3.24.4
  • supabase_flutter: ^2.7.0

Additional context

Add any other context about the problem here.

josefwilhelm-innio avatar Oct 09 '24 06:10 josefwilhelm-innio

Have the same issue with a react native app.

Yusuf-Munir avatar Dec 27 '24 00:12 Yusuf-Munir