Supabase

S

Supabase

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

Join

DATABASE ERROR QUERYING SCHEMA

Fetch error from https://phnzcyzmiuxndowocamf.supabase.co/auth/v1/token?grant_type=password: { "code": 500, "error_code": "unexpected_failure", "msg": "Database error querying schema",...

How to handle subdomains using the same supabase project as main domain?

I have 2 apps using the same Supabase project: everythingenglish.xyz and englishgpt.everythingenglish.xyz. When users sign in on the subdomain, Supabase redirects them to the main domain instead. Both domains are in Redirect URLs, but Site URL can only be one domain. How do I make auth redirect to the correct domain based on where the user signed in from?

I lost access to my Supabase account and now locked out of my 8k+ user database

Hi Supabase Team, Who do I contact regarding getting back into my account as I have lost access to the gmail connected to it....

google log in for iphone (pc and android just works fine)

I've run into a tough issue that only affects iOS devices (both Safari and Chrome), and I'm hoping to get some advice on the best practice to solve it. The Problem: My React app uses Supabase Auth for Google Sign-In. The process works perfectly on PC and Android. However, on iPhones, after the user successfully authenticates with Google and is redirected back to my app, it gets permanently stuck on the initial loading screen and never navigates to after login page. The URL correctly shows the access_token in the hash, so the initial redirect is successful. ...

Copy my prod database (tables, schema, edge functions, policies etc) to dev?

I have a lovable project connected to a database but now I plan to put it live, I want to keep a separate DEV and PROD database. In lovable, I can disconnect PROD and connect DEV. But I don't know how to copy everything from PROD to DEV? I can export schema but that's about it?...

Self-hosted Supabase - Apple & Google Sign In environment variables

Hi everyone, I’m running a self-hosted Supabase instance and I need to enable Apple Sign In and Google Sign In. Which environment variables do I need to set for this? I couldn’t find any clear documentation about it....

UI Demo: #LogIn Restrictions

I can't seem to demonstrate my UI because I have to create an account but nothing works, I've asked lovable but the solutions don't help.

Not getting password reset links

Hi, I'm trying to implement password reset for users. I'm not sure why I'm not receiving the emails with a reset link.

Question about real time and region

Hi everyone, in the supabase docs on real time it is mentioned that rather than having a single server running Realtime and one running the other services, they use a distributed set of clusters around the world. Would that mean that if my supabase instance is in us-east for example then someone from Europe who uses supabase realtime would be using a cluster somewhere in Europe? In other words, they should expect not to suffer from regional latency issues for realtime communication

I have integrated resend with supabase for Email verification but I receive emails hours later

Can someone help me please, I used to instantly get the emails but sometime after releasing now it takes hours and sometimes I never receive verification emails

CLI asks for db password for every command. Can I save it?

Hi, when I run commands like superbase DB push, it always asks me to enter the remote database password. In the past I thought there was a way to save this, but I've tried using superbase link and setting the database URL in my .emv file, but it still asks for it each time. Is there something I'm missing? Thank you for your help.

Supabase/Flutter edit message update problem

Hello, I'm creating a messagery network as Messenger and I'm making an edit message option but it doesn't work for now. When I send my edited message, it is changed in the UI for 1/2 seconds but not in my database so I'm supposed the problem come from my SQL request because the id and the message provided by my newMessage attribute are the good ones. I suppose the issue come from my "update_at" type attribute in my table because it is a timestamptz and in my SQL request it's timestamp. I tried with .toUTC() but it didn't work ...
No description

hola, ayer agregue el doble factor de autenticacion con codigo a mi supabase y hoy intento hacer log

intento hacer login y no puedo, no me da nunca el input para poner el codigo que me da mi autenticador

Minting my own JWTs with JWT Signing Keys - In production

Hey, I've been migrating to JWT signing keys. In my setup/app I have a crucial requirement to mint my own keys (I did this previsouly with JWT secret). I have it working locally with JWT Signing Keys by generating a key with : ```...

Vault - Creating secrets in edge functions

Hey all, I'm trying to create a vault secret inside my edge functions, using supabase-js. Tried so many variations, both of supabase.rpc() and supabase.select() - but nothing works. The RPC call throws this -
Could not find the function public.vault.create_secret(secret_description, secret_name, secret_value) in the schema cache
Could not find the function public.vault.create_secret(secret_description, secret_name, secret_value) in the schema cache
...

edge functions readme.md

is it possible to add one? whenever I keep creating one for documentation it disappears when I deploy an update, does edge functions actually support having readme.md files?...

Using RLS for CLS

Hi, I wanted to know if it is acceptable to use RLS for CLS. Basically, I create an UPDATE policy that makes sure other columns remain the same as old record except only allowing 2 certain columns to be different....

Magic Link 403

Hi, so I'm a designer getting in probably beyond my depth 🙂 I've been prototping an app using Lovable and Supabase. This was all working great until this morning when I did the security audit and 'fixed' an issue with my database exposing the email field to the internet. Now when I try to signin to my app, using a magic link I get stuck and don't get pat the loading screen. I've probably used over 100 lovable message credits trying to fix this, and am just going around in circles wasting further message credits....

edge function issue

My Edge Function youtube-oauth is running old, cached code instead of the new code I deploy. The function shows logs like 'Listening on http://localhost:9999/' that are NOT in my local files. This appears to be a platform-level deployment sync issue. Me and my team have spent several hour's trying everything we can to fix this but we all came to the conclusion that this is a supabase issue NOT a issue on our end. If it is a issue on our end and there's a way to fix it plz lmk. If not how should...

Reference Custom Table In Storage Bucket Policy

Hey folks! I'm experimenting with the storage bucket policies and have been trying to figure out how I can set up USING clause for a SELECT policy. Here's some context: 1. I've created a custom users table and a roles table. A user has a role assigned to them by role_id. 2. I have a private storage bucket called liveness_checks for mp4 videos, and with INSERT allowed WITH CHECK:...