226 questions
Advice
1
vote
0
replies
34
views
How do I make an authenticated request from my Next.js API on Supabase with RLS enabled?
In my case, I only want authenticated users to perform a SELECT query on my database, so I set up my RLS Policy for this scenario. This is where I am hitting an issue. With RLS enabled, I need to let ...
-1
votes
0
answers
52
views
Supabase server refusing to start locally because of migrations mismatch
I am new to supabase I need help starting my supabase server locally
I'm working on a project that was initially started with Lovable AI and uses Supabase as it's backend. I recently joined the team ...
0
votes
0
answers
186
views
Supabase Auth: auth.signInWithPassword always returns Invalid login credentials
I am using the Supabase JavaScript client in a Next.js project. User registration completes successfully, and the new user appears in the auth.users table. However, when I attempt to log in with the ...
0
votes
0
answers
64
views
Manage session/authentication with RLS
Started to use supabase and focus a bit on auth/session ...
I have a simple Node app with signInWithPassword and a endpoint getClients.
My table has a policy for SELECT
alter policy "Enable read ...
2
votes
1
answer
76
views
Supabase Storage Upload Works on Desktop but Fails on Mobile
I’ve run into a weird issue with Supabase Storage and could really use some help.
I'm building a document uploader using Supabase Storage. Everything works perfectly on desktop, but when I try ...
1
vote
1
answer
261
views
ERROR Integrating [email protected] in React Native CLI – Cannot assign to property ‘protocol' which has only a getter, js engine: hermes
I have created a React Native CLI app project in TypeScript with Supabase integration. I’ve set up my client like this:
import { createClient } from '@supabase/supabase-js';
export const supabase = ...
0
votes
2
answers
300
views
How can I connect my backend server to Supabase?
I'm currently working on a project that involves a native client app, a backend server (Node.js), and Supabase for both the database and authentication.
Here's the architecture I'm considering:
The ...
0
votes
0
answers
140
views
Build SMS Auth with Custom Provider in Supabase
I'm trying to add SMS OTP to my flutter app using custom provider I was reading about this article : https://medium.com/@lavisht22/optimizing-sms-authentication-costs-with-supabase-a-deep-dive-...
0
votes
0
answers
122
views
How to fix broken image on storage bucket of Supabase
I'm uploading profile image from React, Next.js frontend to Supabase backend. It was successfully uploaded, but the image is broken. And I found that the type of the upload image is originally .png ...
0
votes
0
answers
110
views
How to use supabase ssr package with node js runtime and not edge runtime
I want to use the node js runtime with the supabase ssr package, if I don't use edge runtime my code doesn't work, but I want to use node js runtime some packages doesn't work well with edge, also I'm ...
0
votes
0
answers
348
views
Expo Dev Client (iOS) + Supabase — TypeError: Network request failed in custom build (`expo run`)
I'm using Expo + Supabase and recently switched from Expo Go to a custom development build using:
npx expo prebuild
npx expo run:ios
Since I'm using custom native modules that aren’t supported in ...
0
votes
0
answers
68
views
Is it possible to have supabase-js download only the first frame of a video to make a thumbnail?
So, I'm developping an easy interface for my client, so they can make content for an app that use supabase as a backend.
Amoung the types of contents, their is stuffs that require my client to upload ...
0
votes
0
answers
170
views
Supabase Db Query is super slow with simple test query using service role
A Simple db query in a table with just 2 rows takes atleast 12 seconds, sometimes timeout!
What is the mistake in my code? My code works so credentials are correct. I don't use Supabase auth, so I use ...
0
votes
0
answers
137
views
How to implement automatic Google Calendar API authentication through supabase without user OAuth flow?
Context
I'm building a React application that needs to interact with Google Calendar API to create events automatically. Currently using OAuth2 which requires user interaction, but I need this to work ...
0
votes
0
answers
51
views
Vite hotreload breaks supabase client
I'm stuck with a weird problem where the supabase client basically stops working as soon as I had a hot reload happen.
I have a straight forward supabase client setup in a seperate file like this
...
0
votes
0
answers
302
views
Why is my Supabase Password Reset in React not verifying the session correctly?
I am working on a password reset feature for a flutter application. It sends the user an email which sends them to a website which should handle the password reset. However, I am having issues with ...
1
vote
1
answer
236
views
Why would the Supabase client cause a MiniOxygen error with "dev" script but work with "preview" script?
In my up to date shopify hydrogen/remix app, I am trying to import the supabase-js package into my server.ts or specific route. When I initialize the createClient function, then run the "shopify ...
0
votes
0
answers
34
views
What's the trick for Apple Sign In Auth on WebApp? Results in error
Based on the Supabase docs, & Configuration tool, I have setup the following to allow for Apple Sign In on web app:
Account ID: 10 Characters
Service ID: com.my.webapp.service - setup to allow ...
0
votes
1
answer
658
views
How to correctly get data from supabase?
I have created a table in supabase called blogposts, and have added couple of rows.
Here is what the columns look like:
id
title
description
date
views
readingTime
imageUrl
author
I have created ...
0
votes
0
answers
51
views
How to use Supabase DB Functions in Javascript Client API using Select Query?
My Goal is to get the coordinates in human readable form without using a seperate request as follows.
supabase.rpc('fn')
I have a table named live_route and it is linked to an other table named ...
0
votes
1
answer
142
views
React/Supabase Response types for complex queries not working with filter
I am using React with Typescript and Supabase. To create a type from a complex query I use the schema provided by supabase like this:
import { QueryResult, QueryData, QueryError } from '@supabase/...
0
votes
0
answers
78
views
Realtime issue with supabase custom oauth integration
I have a project in supabase for a react native mobile client. I use a custom oauth flow where a service called autolab manages all my auth and gives me a token which I then convert into my own jwt on ...
0
votes
0
answers
35
views
How to stop rerouting due to onAuthStateChange() call for updateUser()
Ques
How to updateUser() without moving away from the registration screen if subscribed to onAuthStateChange() ?
I want to reroute when Auth User changes on login & logout, but I dont want to ...
1
vote
0
answers
128
views
Webhook event for new user created on Supabase
I am currently working on fintech mobile application with Supabase and my backend. Is it possible that to have an event triggered when a new user is created. i want to use supabase Edge functions to ...
0
votes
0
answers
55
views
Authenticating Mobile Users on a Next.js Server with Supabase and RLS Policies
I am using the Supabase signup method to authenticate users in a mobile app. I want to make API requests to my Next.js server, where I also use the Supabase SDK to interact with the database. I have ...