Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
josefwilhelm-innio opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@josefwilhelm-innio
Copy link

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 josefwilhelm-innio added the bug Something isn't working label Oct 9, 2024
@saltcod saltcod transferred this issue from supabase/supabase Oct 9, 2024
@Yusuf-Munir
Copy link

Have the same issue with a react native app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants