-
Notifications
You must be signed in to change notification settings - Fork 15
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
Property 'api' does not exist on type 'SupabaseAuthClient' #45
Comments
You probably use @supabase/supabase-js@2.x.x. This package is doesnt work for version 2. Try to install v1 to get it working for now until it is fixed. |
Is this still the case that it doesn't work for V2? |
Hi is there any update on this issue? Would you be open to a pull request to update the library to support 2.0? |
At the time of writing this library is no longer the preferred way adding supabase auth to your application. If you start a new application please consider following the official supabase docs. Having that said back when v2 just got released I've looked into getting the library to work but there were some roadblocks which would lead to breaking changes bringing me back to my previous point (following the official supabase docs). |
Got it, thanks for the quick reply! |
Describe the bug
The
email-password
example is not working. ThesupabaseClient.auth
does not have anapi
property.It may be related to the
supabase
version.Your Example Website or App
https://github.com/mitchelvanbever/remix-auth-supabase/tree/main/examples/email-password
Steps to Reproduce the Bug or Issue
examples/email-password
Expected behavior
To work.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: