Setting up Supabase as a security provider

Hi, I am a new user of Wappler, trying to use an existing database and auth from Supabase.

I am trying to authenticate a user, using the instructions found in “Login - Create a Working User Login Page” docs (https://docs.wappler.io/t/login-create-a-working-user-login-page/2855). I get “unauthorised” as the response for the form server actions, even though the credentials are correct.

xAppConnect.js:7 POST http://localhost:3000/api/Login 401 (Unauthorized).

Supabase is not registering a log for any auth activity.

I am struggling to find any documentation to help. I have setup Supabase as my database connection and that seems fine, though I haven’t tried any crud operations yet. I have Supabase as my security provider and all form inputs named as instructed.

Thank in advance for any insight.

Wappler is not compatible out-of-the-box with Supabase. It’s compatible with postgresql which supabase uses. But not with the backend that supabase provides on top of postgresql. For that you need to develop custom extensions in Wappler.

In other words, you can use supabase as a data source given that it’s just postgresql. You can’t use any of the logic that comes with it unless you build extensions.

Hi,
I was searching for practicality of Wappler+Supabase combination for my use case and found your comment here. I used to develop without platforms like Wappler, but I want to explore them right now. I could not understand what do you mean by "build extensions"? do you mean using custom codes for better integration between Wappler and Supabase?