Supabase

S

Supabase

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

Join

Roast my demo app with Next.js and @supabase/ssr using httpOnly cookies

Hey everyone! I built a demo app showcasing server-side authentication with Supabase using httpOnly cookies and Magic Link auth. I'd love to get some fresh eyes on it to spot any potential issues or improvements. What it includes: - Next.js 15 (App Router) - Magic Link passwordless authentication...

Supabase and n8n on different docker networks.

I am running an instance of supabase and n8n running in docker on the same machine, and on separate stacks. I am trying to connect the two, but it seems n8n default gateway is 172.18.0.1, while supabase network is on 172.19.0.1, is there an easy way to change this in either compose file? Any help would be much appriciated.

JS如何通过调用边缘函数来创建表?

这是我写的边缘函数:https://github.com/zhangpanonline/enterprise-admin/blob/dev/src/edgeFunction/create_table.ts。 然后我通过 POST https://smmexdymolziqxyrvctw.supabase.co/functions/v1/create_table 接口,入参{"name":"sys_demo"},接口返回permission denied for schema public。 如何解决这个错误?...

realtime

how can I enable realtime and use it for a database?

Logging in to the console (website) is timing out

It's been maybe 9 months since I last logged in, but I have an app that is powered by supabase that I keep using during the interim. Tried to sign in today, and it just keeps timing out.
No description

Migrating user authentication from supabase to clerk but keeping the db setup?

i want to migrate to use the new billing from clerk and that would require me to use their auth system as well, but i want to keep using the db features of supabase. ive integrated clerk with supabase before so that easy but i know how restrictive the auth.users table is and idk if that something that supabase offers, like a way to data dump or a pipeline line offered by clerk to securely migrate the data.

Pulling database schema for storage from main or prod fails to run locally.

I am pulling the complete schema for my production database so that I can run it locally and develop there. After pulling, when I run the reset command, I get a lot of conflicts from tables like storage.prefixes, storage.iceberg_namespaces, etc. These tables do not even exist in the storage schema and the schema file drops them anyway. So why or how are they getting pulled?

"Permission denied for table" despite having RLS policies. Requires explicit GRANT

So this has never been a problem until today. I just created a table with RLS and all the appropriate policies as I have done before, but kept getting "permission denied for table" when trying to select from it. I find I can only select when I do so under the "postgres" role, and upon running this: ``` SELECT grantee, privilege_type FROM information_schema.role_table_grants WHERE table_schema = <table_schema> AND table_name = <table_name>;...
No description

OAuth Authentication: 'code challenge does not match previously saved code verifier' Error

Hello ! What's going wrong: I consistently get a 'code challenge does not match previously saved code verifier''bad_code_verifier' error when exchanging the OAuth code for a session. I followed the official Supabase Next.js SSR documentation multiple times..... ...

How Do I Find My Endpoint

Hello, I'm in the middle of trying to migrate my database ans such over to another provider and I'm trying to figure out my Endpoint from Supabase! Where would I find this?!...

Help with Unresolving DB Hostname for Active Project

Hi team, I'm stuck trying to connect to my database for a pg_dump. My project is active (not paused), but the hostname db.uddrruavcqtzyjegndkhi.supabase.co won't resolve. I get an "Unknown host" error when I ping it. I've already tried flushing my Mac's DNS cache, but it's still not working. Has anyone seen this before? Any ideas would be appreciated!...

Supabase config.toml: run local dev with Resend SMTP while keeping config synced with remote

I’m working with Supabase and its config.toml file. This file is generated when running supabase init, but it also reflects the remote project configuration — I can see this because when I run supabase link I get a diff between the local config.toml and the remote config. This led me to think the intended workflow is: 1. Modify config.toml locally....

Question

I received an email on 7 June 2025 saying Take our survey and tell us how you're building in 2025. Everyone who completes the survey gets a free t-shirt. Supply your startup name, and there's a chance we'll mention it in the final report, too. I took the survey but still I haven't got any t-shirts. #off-topic...

Connecting Self-Hosted Supabase to Softr

Hi, I set up a self-hosted Supabase DB and trying to connect it as a datasource to Softr. But didnt suceed yet. Who can help?

`JSON Parse error: Unexpected character: <` error from supabase storage upload on Android

We are dealing with a JSON Parse error when uploading to supabase storage specifically when uploading camera photos selected from camera roll. We do not have this issue when uploading camera photos taken directly with Expo Image Picker camera, or when uploading screenshots. Supabase storage responds only with a JSON Parse error, but we don't know what's being parsed or why it would be different between these cases. In our expo project we use Expo Image Picker to upload images. We get the assets and upload them to supabase storage with the following steps: 1. Parse the image type (png, jpeg) and create a FormData ```const photo = {...

pgTap unit tests after implementing Custom Claims & Role-based Access Control (RBAC)

Hi Folks After implementing Custom Claims & Role-based Access Control (RBAC) following https://supabase.com/docs/guides/database/postgres/custom-claims-and-role-based-access-control-rbac I found this guide easy to follow and following this pattern suits my requirements....