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
1,993
questions
0
votes
0
answers
52
views
Flutter App does not return back after Apple OAuth in Android
I am developing a Flutter app that is Supabase-backed and not self-hosting. All native and web sign-ins and Google sign-ins for Apple are working. However, apple sign-in for Android does not work. I ...
0
votes
0
answers
10
views
Can't instantiate Supabase client; fails with GoTrue error "window is not defined."
I've written a Deno-based server and am trying to use Supabase with it. However, on launch it fails with an assertion thrown from GoTrueClient.js, _isImplicitGrantFlow():
Exception has occurred: ...
0
votes
0
answers
10
views
Error processing user query: TypeError: Cannot read properties of undefined (reading '0')
I want to select data from my supabase DB using a function ( calling it with rpc ). However Im getting this problem: Error processing user query: TypeError: Cannot read properties of undefined (...
0
votes
0
answers
9
views
How to add additional data to the user with supabase signUpWithPassword() in Nuxt?
How to add additional data to the user with supabase signUpWithPassword in Nuxt?
If I am getting the user's data with useSupabaseUser , I am not seeing the added data.
Here is my login function:
const ...
0
votes
0
answers
16
views
Supabase logging in is too slow for Nuxt
I am making a simple Nuxt3 and supabase app that simply handles authentication through GitHub. My goal was to have middleware in place to protect pages from users that weren't signed in but when I had ...
0
votes
0
answers
8
views
Log in works only on subdomains and not the apex domain: Bug with google oauth, vercel hosting and supabase:
I’ve been trying to get supabase nextjs and google oauth to work on my domain and I’ve encountered a weird bug. When I change the site url to test.domain.org/redirect_point and test it on my test....
0
votes
0
answers
35
views
How can I fix this RLS policy issue with Supabase on .insert()?
I am in the process of creating a habit tracking app and am using Supabase PostgreSQL. I am implementing RLS in the habit table but cannot for all that is good figure out this issue. On the click of ...
0
votes
1
answer
17
views
How to do Join on composite key with postgREST?
I am struggling to find the right syntax to perform a (nested) join on on composite foreign keys.
For example, my tables are
CREATE TABLE post (id TEXT PRIMARY KEY, userId TEXT REFERENCES user(id), ...
1
vote
0
answers
16
views
Session null on next Middleware with supabase getUser
I got my session in the localStorage, but when I try to access the data in Middleware of Next, auth.getUser() is equal to null, and I dunno how to fix it.
enter image description here
enter image ...
0
votes
0
answers
31
views
Nuxt 3 Supabase - 500 auth Session missing
I am trying to integrate Supabase Github OAuth with Nuxt 3 but I am having an error "500 auth session missing" and it's very slow!
The server middleware causing the Error: (user.ts)
import {...
0
votes
1
answer
21
views
useState returning empty array on default state, using react + supabase
I need help to understand why when I console.log(menus) on Menu.jsx it returns an array of values, but if I console.log(item) it only returns an empty array, while the default value of the item is &...
1
vote
1
answer
36
views
How to Dynamically Create Tables and Functions in Supabase Using PL/pgSQL?
I am working on setting up a vector store in my Supabase database, and I need to execute a script for each new table I create. The script enables the pgvector extension, creates a table, and defines a ...
-1
votes
0
answers
24
views
Azure app unable to connect to Supabase- Invalid URL Exception
My app that runs completely fine locally has problem with connecting to Supabase when deployed on Azure.
raise SupabaseException("Invalid URL")
The credentials are correct.
It is a chat app ...
1
vote
1
answer
32
views
JavaScript Error Code Property "Undefined" - Supabase Auth
The problem is that I am getting "undefined" when I use error.code in JavaScript when I want error.code to spit out meaningful Supabase Auth error codes.
I tried error.message, error.name, ...
0
votes
0
answers
26
views
RLS not working correctly with Google oAuth / supabase
With nextjs I have a google OAuth login with supabase and I want to have specific users to be able to insert, update, delete files. So I've given certain users the role 'service_role' and have added ...