Supabase

S

Supabase

Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.

Join

Prod and Dev Environments

I have created a new database to use as Dev, I want to completely dump the entire prod database and execute it on dev, is this the best way to copy it?

DNS Resolution Issue with Supabase Database Host

Hi everyone, I'm having trouble connecting to my Supabase database from my local machine using pg_dump. I keep getting a DNS resolution error for my production database host. ...

Supabase ssr + Sveltekit + GetClaims() sliding session implementation

Is there anyone who can tell me how I would implement a sliding session in the above setup? Using Supabase free plan for now while setting things up. Shouldn't GetSession refresh the access token? I'm super confused. A good start would be being able to circumvent the default 1 hour expiry time that logs me out

Google Authentication is redirecting to localhost:3000

I have a react native application using expo. I have configured Google as an Auth Provider which seems to be working fine but when it comes to redirecting back to the application, its stuck in a loop looking for localhost:3000. I have added Redirect URLS in Supabase 1) myscheme://auth/callback...

Bucket Storage Namespacing

Hi guys, I am a bit dumbfounded by some behaviour I am getting when uploading files. I am aware storage follows the S3 protocol and yet I cannot understand the following problem: I tried uploading a file using different filenames:...

Unable to login to console at supabase.com

I need help accessing my supabase account . I don’t know why it keeps timing out at this endpoint https://auth.supabase.io. I have tried both on chrome and edge and they are failing to login. I have a stable internet connection.

Sveltekit protected routes question

as per the docs https://supabase.com/docs/guides/auth/server-side/sveltekit In the hooks.server.ts: ```
if (!event.locals.session && event.url.pathname.startsWith('/private')) {...
No description

Table Accidentally Deleted, Need Help on Restoring Data

Hi I am a pro user and heard that there is backup for deleted table and can be restored, so want to check with the team.

Database completely down; eu-west-2. Anyone else?

We're facing HTTP 521s on our API requests to the database, and the database itself appears to be down. Can't access it directly, nor through the Supabase dashboard, nor through the pooler. A full restart a couple of times didn't help. We upgraded from Small to Medium compute after looking at Supabase's troubleshooting guide -- still all down. Anyone else in this region with a similar issue? Or anywhere else for that matter? We've been down since about 17:05/17:30 UTC....
No description

auth schema corrupted?!

After a db reset and faulty recovery, my auth schema is corrupted. The postgres user lost membership in supabase_auth_admin, and core auth functions lost their SECURITY DEFINER property. All attempts to run GRANT are blocked by the pgrst_ddl_watch event trigger, raising a 'reserved role' error. The fix being considered is to temporarily disable this trigger to restore the permissions. Thoughts or input welcome. Note: I am a complete novice who is being guided by Gemini so please be kind if any of this sounds off....

DB went offline for around 50mins

We were out from 10:38 LON (5:38 NYC) to 11:26 LON (6:26 NYC). During this time our db was intermittently offline, seems like 95% of db requests got dropped. In practice this meant people could not login or use our webapp. Everythign started workign again out of nowhere. Sharing some grafana dashboards. Just wanted to follow up and understand what happened....
No description

Supabase was running the wrong edge function when setting up a cronjob?

I defined cronjob A to run edge function A, and on the dashboard it was showing as running edge function A, but really it was executing edge function B. Is this a common bug?

Unhealthy PostgREST and auth

Just started randomly. I tried restarting the project, issue remained the same. What can it be?
No description

xxxx.supabase.co | 525: SSL handshake failed

Seeing a ton of 52X errors and SSL handshake failed but no downtime reported.

Setup Privy with Supabase for automatic wallet connection

hey, has anybody setup a project with Privy AND Supabase? What I am trying to do: - Use Privy for auth and automatic wallet creation (ETH/SOL wallets) - Use Supabase for database and backend...

Using raw_app_meta_data to conditionally render email content but I am unsure if this is available

Hey, I am storing user roles in auth.users.raw_app_user_metadata, I am wanting to access the roles in the email template to conditionally render content. It says in the docs here that user metadata is available but it's not clear exactly what fields are accessible. Any help would be greatly appreciated....

Oauth 20s+ load time leads to 522 Connection Refused error. Dashboard tables not loading.

When a user tries to log in, it takes 20s+ then leads to a cloudflare error page, and I can't load the dashboards tables.
No description

Question about Edge Functions and Roadmap for self hosted version

Hi guys! I opened a GitHub Discussion asking when Supabase Studio will include the new Edge Functions management (dashboard editor + tester, API-based deploys/--use-api) and whether there’ll be self-hosted parity. Would love an ETA or roadmap pointer. Thread: https://github.com/orgs/supabase/discussions/38269 I ask also here to have more information because I'm planning to launch some project and I need to understand what BaaS choose. Thanks! Giosuè...

Runtime types generation

Hi there, I set up a small database and I was able to generate types following the instructions here. https://supabase.com/docs/reference/javascript/typescript-support I'm wondering if there's a way to generate those same types programmatically? If I could call something special from within Typescript, then even though the type information would not be available at compile time, I would have a more dynamic system that doesn't require the custom steps of calling the CLI and explicitly importing the generated types from a file....

Security advisor is confusing?

I'm trying to add my Vercel <> Supabase deployment and I'm following the documentation and using AI-for my deployment, but I got this messages. I'm afraid that I have security problems with the current setup? But when I research about those messages, they are saying that I can ignore the messages, but why are they popping up? Can someone educate me please?...
No description