Supabase

S

Supabase

Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.

Join

not sure how to use new api secret key

hey folks i disabled the legacy api keys and created the new api keys, so now i have a publishable key and a secret key named default. but i was a little confused about using the secret key, as it doesn't appear to have a reserved name like the old service role key did. in my local .env file i created a new variable SB_SECRET_KEY and set it equal to the secret API key copied from the supabase dashboard. then i set this new secret using the command line, so now i see it in the edge function secrets. but this didn't feel like the right way to use it - it seems like i just created a new edge function secret. or is that really what we're supposed to do? i did the same for the publishable key, that is i made a new edge function secret SB_PUBLISHABLE_KEY thanks!...

Hook requires authorization token

I think it is not relevant but just for context I am setting up password-less auth using magic links in my project. I have a custom auth hook in my local running instance for sending emails. I am getting this following error:...

Combined View for logs is not there

The feature was announced in july, I am pro for a month or so but I still don't have it. What am I missing?
No description

Getting authenticator@postgres error permission denied

I’ve been stuck on this for 3 days now, please any comments will be useful. So basically I am using supabase auth and once a user signs up or logs in there is a custom access token that gets the tenant id and user id from my db and attaches it to the jwt app_metadata. When trying to access my tables (rls disabled) i get the failed to load 400 bad request. In the supabase logs i get authenticator@postgres error permission denied. From my understanding the authenticator should be switched to anon or authenticated I am on supabase cli...

Installing c extensions with DBdev?

Trying to install the mysql_fdw I packaged on database.dev, but I'm getting permission denied when trying to install it:
ERROR: 42501: permission denied for language c
ERROR: 42501: permission denied for language c
Here is the extension: https://database.dev/matanya/mysql_fdw...

OAuth PKCE documentation needs an update for `createClient`

I was attempting to use the PKCE flow for google OAuth login but kept getting a result where the supabase auth endpoint would redirect to my url with an access token and other values at <redirecturl>#<values>, and there was no code to exchange but it had a supabase access token. After debugging and digging through mounds of issues and examples, I found that I needed to set a config option when using createClient from the @supabasejs/supabase-js library. This tells the auth to use the pkce flow: ```ts...

Error with generating S3 compatible url

This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Resource>rooler_test_bucket/companies/test-comp/43689274_1798d8c3.pdf</Resource> <Code>AccessDenied</Code> <Message>Missing signature</Message>...

Etisalat Blocking - Can someone from Supabase please give us an update regarding this?

I've sent countless emails with no response. Please someone let us know what is going on?...

Failed to fetch (api.supabase.com)

When I delete/edit RLS:
Failed to delete database policy: Failed to fetch (api.supabase.com)
I don't see any errors on Status page.....

Reset Password in looping

I'm having a problem where when I click on the password reset link that arrived in the email, my code goes into a loop, getting stuck at this part:
if (status === 'validating') { return ( <div className="flex flex-col items-center justify-center min-h-screen bg-gray-50 p-4">...

Need help on Vault in k8s (helm)

I'm enabling the vault , the problem here is supabase-db container creates the pgsodium.pem (etc/postgresql-custom) key I'm trying to persist this so that next time pod restarts it won't take up new keys

Type "vector" does not exist

Hello, I have an RPC function that matches two tables with vectors. It works perfectly on my local machine, but when I uploaded it to production, I get this error: type 'vector' does not exist. I use the SQL editor to test it, and from there it works great. Que puede ser?

Please enable wasm_fdw extension for project <PROJECT_REF or https://<your>.supabase.co>

Hi Supabase Support — My project currently has wrappers and supabase_vault installed (see attached SQL output), but creating the Clerk foreign data wrapper fails with: ...

I´ve a question in Plus Plan from supabase

The plan have a inversion a $25,00, so, the plan incluide a authothecation email of limits in the Plus plan, in free plan is two emails for hour, in plan plus is 10,20 or more email for hour? And whic the email for month in Plus Plan?

Twitter login not working

I get this error from twitter "There is no request token for this page." after using the const { error } = await supabase.auth.signInWithOAuth({ provider: "twitter", });...
No description

Auth and protected pages

Hello guys i have a question, im currently building a saas project with nextjs , supabase .Im using the ssr client, middleware , server architecture to authenticate the user, and i am wondering if i need to use `const supabase = await createClient(); const { data, error } = await supabase.auth.getUser(); if (error || !data?.user) {...

React Web App - Auth getSession & getUser doesn't fetch on browser. regaining focus after lost focus

React Web App - All is okay when the app starts but when the browser looses focus & again regains focus, await supabase.auth.getSession() does not return session & supabase.auth.getUser() doesn't return user. If I refresh the page then all data loads nicely. Here is the code of Onload of user Token Wallet Page which fetches user token data from database. const getCurrentUserId = async (): Promise<string | null> => { console.log('Getting current user ID...');...

Migrating from anon > publishable key supabase JS

Hello! Im trying to replace my anon key with the new publishable key in supabase JS client and the new key is not being accepted. The Supabase API Gateway logs are giving me a "bad_length" error - any ideas on why this could be the case?

Supabase Admin policy not working

i am trying to make a website where client and freelancer can interact with each other and everything goin perfectly fine but when i was working on website admin page i can edit contract section but when i try to edit profile of any client or freelancer i can't
No description

List on local bucket does not work

Im wondering if I need to use RLS also for local buckets. Cause any list operation from javascript SDK are not working. Do you have any idea?