remix-auth-supabase
remix-auth-supabase copied to clipboard
Property 'api' does not exist on type 'SupabaseAuthClient'
Describe the bug
The email-password example is not working. The supabaseClient.auth does not have an api 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
- Clone the repo
- cd to
examples/email-password - Update packages
- Run the project
Expected behavior
To work.
Screenshots or Videos
No response
Platform
- OS: Manjaro Linux x86_64
- Version: 4.0.2
Additional context
No response
You probably use @supabase/[email protected]. This package is doesnt work for version 2. Try to install v1 to get it working for now until it is fixed.
npm i @supabase/[email protected]
pnpm add @supabase/[email protected]
You probably use @supabase/[email protected]. This package is doesnt work for version 2. Try to install v1 to get it working for now until it is fixed.
npm i @supabase/[email protected]pnpm add @supabase/[email protected]
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?
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).
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!