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

There is no option for anonymous login in the Supabase Package. #1251

Closed
Thaddeus19 opened this issue Jul 23, 2024 · 2 comments
Closed

There is no option for anonymous login in the Supabase Package. #1251

Thaddeus19 opened this issue Jul 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Thaddeus19
Copy link

Thaddeus19 commented Jul 23, 2024

Describe the bug
When I try to set up the flow for my application to use anonymous users, I enable the options in the project settings, but when I try to call const { data, error } = await supabase.auth.signInAnonymously(); , it returns the error "Property 'signInAnonymously' does not exist on type 'SupabaseAuthClient'."

I have already checked all the methods that can be used with 'SupabaseAuthClient', but the Anonymous one does not appear.

Captura de pantalla 2024-07-22 a la(s) 10 56 04 a m
@Thaddeus19 Thaddeus19 added the bug Something isn't working label Jul 23, 2024
@j4w8n
Copy link
Contributor

j4w8n commented Jul 24, 2024

You might need to upgrade your supabase-js version.

@Thaddeus19
Copy link
Author

Thank you. I had updated the package, but it seems it didn't work. Now, after reinstalling it with the latest version, the option appears.

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