Questions tagged [supabase]

Supabase is a collection of open source tools to build modern applications quickly and efficiently. It uses the PostgreSQL database to power its authentication, database, and storage features. Use this tag when you are having problems, and not to ask for new features.

Supabase is a combination of open source tools. It builds the features of Firebase using enterprise-grade, open source products. Supabase is not a 1-to-1 mapping of Firebase. Its aim is to give developers a Firebase-like developer experience using open source tools.

Supabase has an official JavaScript library as well as community built Dart, Rust, Kotlin, C# and Python libraries.

Supabase is composed of four components

  • Database
  • Authentication
  • Storage
  • Functions (coming soon)
1213 questions
2
votes
1 answer

Trying to get an understanding of Plaid tokens and security

Plaid and security newbie here. From what I understand, access tokens are valid indefinitely, granting the user access to information regarding one of their accounts. Each account possesses a unique access token, and the tokens can only be…
2
votes
1 answer

Migrating from Heroku to fly.io + Supabase : "Failed due to unhealthy allocations"

I'm trying to move from Heroku to Fly.io + Supabase. I managed to have my app working on fly.io when connected to the postgres database of my heroku app, using the command: fly secrets set DATABASE_URL="XXX" where XXX is the value of the…
gordie
  • 1,637
  • 3
  • 21
  • 41
2
votes
1 answer

Deploying Node Js application with express framework in Supabase (Edge Functions)

I developed a node Js application integrated with some services like database, authentication from Supabase, It works fine and gave success results in local development for each routes when called from Postman. Now I want to deploy this application…
2
votes
1 answer

AuthRetryableFetchError with Supabase Auth

I've recently rewritten parts of my Supabase webapp, but something started to crash. When I call handleSignIn with the form on my site it refreshes (obviously no session is set nor any user is logged in), but for a while you can see an error -…
IVOBOT
  • 61
  • 8
2
votes
1 answer

psycopg2 execute_values fails with > 100 rows in supabase?

Not sure if this is a Supabase issue or a psycopg2 issue honestly and would love some help debugging. I have the following code: args =…
gkv
  • 360
  • 1
  • 8
2
votes
2 answers

new row violates row-level security policy for table "tasks"

I am new to supabase and am trying to integrate my Todo App made with BlueBase, a Framework based on react and react native. And, I am facing such a problem. CreateTaskScreen.tsx import React from 'react'; import CreateTaskForm from…
2
votes
2 answers

extending nested interface generated by supabase

I have the following Typescript interface generated by Supabase export interface definitions { Users: { /** Format: uuid */ id: string; /** * Format: timestamp with time zone * @default now() */ created_at?:…
Vallo
  • 1,827
  • 2
  • 21
  • 42
2
votes
1 answer

How to check if user already exists in Supabase?

How can I check if a user with the same email already exists when Enable email confirmations is turned on. When Enable email confirmations are turned on an obfuscated / fake user object is returned by supabase, according to this comment it's a…
B45i
  • 2,368
  • 2
  • 23
  • 33
2
votes
1 answer

How do you find table intersections in PostgREST clients?

Simple question from a rookie to PostgREST - is there an intersect function for the equivalent below PSQL query? select a from table1 intersect select a from table2; I read through the documentation https://postgrest.org/en/stable/ and didn't see…
walle
  • 21
  • 2
2
votes
1 answer

Facebook Graph API - Getting error 2207026 when trying to upload video

I try to upload a video via the graph API but as the title states, I get an error that states that I use an unsupported video format. I thought maybe the original video file doesn't match the video specifications as defined on…
NiVeK92
  • 130
  • 6
2
votes
1 answer

How to customize supabase email?

My application leverages supabase's magic link for user authentication. It works great but the email looks pretty basic. That's what it looks like: Is there a way to edit this email template? I'd like to change the language and to add some…
Felipe Chernicharo
  • 3,619
  • 2
  • 24
  • 32
2
votes
1 answer

How to set expiry time for reset password link - Supabase

Have some doubts in Supabase reset-password How can we make the email link a One-time click to reset the password? If the user uses that link again it should not reset the password. How can we make the expiry time on the reset password link to 5…
Haris George
  • 291
  • 5
  • 16
2
votes
2 answers

How to get url of uploaded media in supabase storage in flutter?

In flutter for uploading image according to doc is final avatarFile = File('path/to/file'); final response = await supabase .storage .from('avatars') .upload('public/avatar1.png', avatarFile, fileOptions: FileOptions( cacheControl:…
tailor
  • 373
  • 4
  • 19
2
votes
1 answer

Cannot log out user on the server side (Next.js and Supabase)

How can I log out a user on the server side when using Supabase as the auth provider? I thought the simplest and most obvious solution would be to just do that: export const getServerSideProps: GetServerSideProps = withPageAuth({ redirectTo:…
2
votes
0 answers

Trigger Client Fetch on Data Changed in Database (Live Performance Gameplay)

I'm new to using a backend for my games, so sorry in advance, if my question was already answered or my phrasing is poorly informed. I tried to find a solution for this, but could not find any information, nor am I certain this is the right…
schirDev
  • 21
  • 1