Supabase

S

Supabase

Join the community to ask questions about Supabase and get answers from other members.

Join

Any plan to add more social auth providers?

Hi Supabase team, I noticed that GitHub issue https://github.com/supabase/auth/issues/451 about adding more social authentication providers has gathered many requests but hasn’t seen an update for a long time. I’m currently using the hosted Supabase Auth service in production, and adding additional social providers is becoming critical for my product. Without them, it will be difficult for us to keep using the platform....

I don't have any storage buckets yet it says im over the limit, it has been like this for days

I had a bucket with a folder that had tons of files (around 10k), it was 3gb in total I tried deleting that folder, i let my browser for 30 minutes and it only deleted like 1k items, since it was taking too long i refreshed the page and deleted the entire bucket at once which was quite fast But now im stuck at "2gb storage" used when i dont even have any buckets, and my databases are just a few megabytes (within 10mb)...
No description

how to client side query with drizzle ORM?

I'm using supabase as a backend but want to have a fully reproducible database, meaning everything that runs must be on a file in my codebase - no manual steps on the UI for that reason I'm using drizzle as an ORM, which can push and migrate my schema to supabase with drizzle kit the thing is it seems the only way to make use of RLS and postgrest to query the database from the client side is to use the supabase client library...

Error on calling edge function from react app

I have facing issues when I call a function from client app that check website is alive or not from supabase function. I have tested on postman and its all ok but not ok when i call invoke function from react app.
No description

T&S Violations - Phishing Content

Hey Suapbase team! Looking to connect and discuss some content we've identifed on the Supabase platform that is being used in phishing campaigns. Looking forward to your reply - Luke from Netcraft....

Connection refused when connecting postgres and supabase to n8n

Hello, I am currently trying to connect n8n to my supabase stack. Everything is running in docker on ubuntu 24.04. Everything is on the same machine on separate docker containers. I'm not sure is permissions are the issue, but when I am point to a local host (127.0.0.1) I get connection refused. Same issue when connecting supabase, I know my credentials are correct, my username should be default. I am just wondering if there is a setting somewhere securing the port to inside it's own docker cont...

EarlyDrop in edge function

I have an edge function that sends requests to openrouter for an LLM response, but it's shutting down early with this error ``` [ {...

Analytics issues on self host

All analytics collections are empty besides Edge Functions and Cron which displays error . I couldn't find anything on google to fix this issue ```json { "code": 502, "errors": [],...
No description

Change Branch Production Name

During my first setup i named it develop as my Production (thinking i could change it back) but right now i need help i tried resetting or disabling integration but it didn't help it still have the develop name but as Production Let me know what should I do...
No description

error in email configuration

Hello, good evening. Could you help me? I have Supabase on my host, but when I try to save the email settings, I get this error: { "data": null, "error": { "message": "Method PATCH Not Allowed" }...
No description

HTML code rendered as text

"Edge Function returning HTML content gets wrapped in <pre> tags despite correct Content-Type headers, preventing proper widget rendering."

Proper RLS for audit table

In our project, we have a table where we keep an audit of any other changes made to the other tables, the data is populated via triggers on the other tables, for example, if someone updates a field on table1, a Supabase trigger will store the old value, new value, column name, table name and the id of who made the change. I'm struggling to figure it out what would be the proper RLS for that audit table. It will not be queried on the application, it is only for record keeping and the only way it gets data populated is from the Supabase triggers on the other tables. Can anyone share some ideas?...

can i create my trading bot backend in supabase?

i hve created trading bot using lovable.dev and connected supabase as backend all ai and i am close to complete my bot i want to know how to host my bot or supabse offer any premium feature if i want scale my bot or for private use.

Insert row into RLS enabled table from edge function using new keys

Using the new types of assymetric keys, could anyone share an example of a react / vite function that would retrieve the necessary information to be allowed to insert a row into a table? It would also be great to confirm how the able needs to be set up in RLS for this to work. Thanks!...

Edge function workers failing to boot, Typescript error

We are seeing a major problem with about half of our edge function workers failing to initialize due to a typescript error. Our production code hasn't been upated in a month. event loop error: TypeError: Cannot read properties of undefined (reading 'wasm') at Object../src/env.js (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:67:467) at webpack_require (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:106:9092) at Object../src/utils/hub.js (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:97:191) at webpack_require (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:106:9092) at Object../src/tokenizers.js (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:79:1019) at webpack_require (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:106:9092) at Object../src/pipelines.js (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:73:801) at webpack_require (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:106:9092) at Object../src/transformers.js (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:82:16514) at webpack_require (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.9.0:106:9092)...

I can not for the life of me find my pro plan invoice/reciept.

I go to billing invoices all invoices show zero. I confirm my card was charged, and that I am on the pro plan. I search all folders of my email I cannot find my pro plan invoice anywhere please help I have to upload the invoice to my accounting system I have already wasted an hour looking. It should not be this hard

Is it ok to delete migrations produced by drizzle?

I use Drizzle to manage schemas and what not. It has been awhile since I pushed changes to my DB (probably over a year) so I am trying to figure out the best way to go about that. I was running drizzle-kit migrate locally and I guess it's going through every single migration and failing on a migration from 12 months ago.
ALTER TABLE "users_table" RENAME COLUMN "mediaAffiliation" TO "organization";
ALTER TABLE "users_table" RENAME COLUMN "mediaAffiliation" TO "organization";
...

Clone branch with tables schema and data, Authentication users and Storage

Hi all! I was trying to create a new branch and then have a clone of everything that's on the main branch but looks like this is not something we can do easily. Is there a way of doing this? So if I create a new branch I have the schema, but I also need the tables data, authentication users and storage. I've tried a bunch of things, but non of them worked properly.

Error SQL query

So i am trying to create policy(RLS) on supabase to delete a row using id, it keep showing this error ( uuid = bigint ) also tried changing the type on user_id to uuid on table column but still same thing.
No description

typescript lib types have too many optional fields

I noticed supabase's typescript lib has a ton of optional fields for the user/auth types, which means a lot of convoluted typescript code for type assertions and null/undefined checking (see screenshot) according to the docs, these fields shouldn't be optional. is the typescript lib outdated?...
No description