Supabase

S

Supabase

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

Join

Email not considered as provider if user already uses SSO?

Hi everyone, I am in the process of creating a NextJS + Supabase app, using turborepo and the app itself was made using -e with-supabase. The app is meant to be in two parts, a /dashboard that needs to have email login, and other routes (say /google or /github) that can only be accessed to users who linked their google or github account. When doing some tests, I noticed that if I first sign in through /dashboard, then go to /github -> no issue, both appear as providers in my supabase admin. However, if the users signs in for the first time through /github, then goes to /dashboard in the future and signs in using email, they can "sign up" but they receive no email with a confirmation link (likely because they technically already exist), they can only "sign in" and for this need to request a new password. At this point they do receive the email and are able to log in, however I do not see email being added as a provider. Do you know how to handle that by any chance?...

Pass custom application_name on connection

Is it possible to pass a custom application_name on connecting to supabase via typescript SDK? Reason being I am trying to differentiate connections from various sources (cron jobs, mobile app, etc) to see what is hogging a ton of connections.

URGENT: Project Restoration Failed - Core Services Unhealthy After Extended Period

Hello, What I'm trying to achieve: Access my Supabase project database and dashboard for a web application. What's going wrong:...

Project Access / Team members

So there is teams in supabase organizations, but the team member always gets access to the whole organization depending on their role, Now I only want some team memebers to only have access to a specific project not all projects on the organization , is the a way? And the reason i can't move projects to different organizations, is because the organization is on the pro plan, and i'd like to keep my projects on the same organization for that reason.

Enable RLS on Storage.Objects

Hello, I am unable to enable RLS on Storage.Objects which has left my files and images vulnerable and accessible to anyone. How can I get rls enabled on storage.objects urgently? Supabase ticket raised and no help. I am a pro customer.

missing FROM-clause entry for table "new"

I wrote RLS like so: ```sql DROP POLICY IF EXISTS crm_rbac_insert ON public.crm; CREATE POLICY crm_rbac_insert ON public.crm FOR INSERT...

Database is stuck in "pausing" state for 2 days

Hey team, I'm stuck with a pretty frustrating issue and would really appricate if someone help me in getting this resolved. So here's what's happening:...

Does deleting an Organization cancel all subscriptions?

Hi, I couldn’t downgrade my pro project, so I deleted it and deleted my pro organization. Does deleting an Organization cancel all subscriptions?...

Is the Supabase Pro Plan Required for Looker Studio?

I have a question about connecting Supabase to Looker Studio. Am I correct in understanding that the Supabase Free plan doesn't support a direct connection to Looker Studio? Do I need to upgrade to the Pro plan before I can start this integration?...
No description

SupaBase Dedicated Backend

Hello Everyone, I am new to SupaBase and building a dedicated backend using supabase for my app and I have to make some external api calls from my backend which are not in the db. I was thinking about the folder structure of my supabase app currently I have ``` ./src...

Discord OAuth not working on iOS / Safari

I’m using Supabase with Discord OAuth. Everything works perfectly on Windows and Android but on iPhone (iOS), after logging in with Discord, users get stuck on the auth/callback#access_token=... page or see a blank screen, and the session isn’t saved. Can i get help to fix this so that the login works correctly on iOS Safari and other iPhone browsers thanks....

Can not login to my account

Hi, i can not login supabase with my github account. it says "User is banned" . why this happened. i've pro account and our company client's all data can not accessible at this moment. also can not fill the support form because redirecting me to login always. could you help me? My github: https://github.com/bulentbozdag...

LOCAL setup db error: No suitable key or wrong key type

Hi, I'm experiencing an issue in local setup where trying to access my supabase table from my client returns with the error {"code": "PGRST301", "details": null, "hint": null, "message": "No suitable key or wrong key type"}. This error does not occur in Production. When setting up my local, I've already followed the appropriate steps like setting up Docker, running db pull && db migration up to recreate my production schema in my local. ...

Cloudflare Blocking All Signup/Login Requests

Hey everyone! I'm experiencing a critical issue where Cloudflare is blocking authentication requests to my Supabase project, and I'm completely stuck. I am Getting 403 Forbidden errors with "CORS header 'Access-Control-Allow-Origin' missing" on ALL signup attempts from web origins. Log in works. ...

Is there a need to put my migration within an transaction between `BEGIN;` / `COMMIT;` statements.

I ask as I do and that works fine when I just put 1 transaction though when I had a fairly large migration recently when testing locally I had 3 transactions and I did neglect to change it back to just 1. It was fine locally when starting supabase after an supabase stop --no-backup though when we merged it in and deployed the 2nd and 3rd transactions were not applied. It is not ideal that it behaves differently locally using supabase cli and when finally deploying! Or should I just not use any BEGIN; / COMMIT; statements in future at all so I don't make this mistake again. Edit: added detail....

Lost tables

Hi I lost some tables i didn’t have the backup now i have the pro plan i have the backup can i reach out to anyone to get those table back ?

Log in help

Hello. I'm trying to contact support because my account creation is bugged. I signed up with my email, and didn't click the verification email. Now a day later, I'm stuck in an endless loop trying to sign in. The verification email has expired, however when I try to sign in it says I must click the verification email. Could you point me in the right direction?

domain hook-up

How can I implement functionality that allows someone to connect a domain in the app? A user can connect a domain in the app, and then their "page" will be displayed under that domain. Is this possible?

Supabase Auth without middleware

Hello! Thank you for supabase, it is really awesome. A small question. I tried to look over similar questions but i'm confused. Is it possible to use supabase-auth in nextjs without the middleware? I know in rsc, you cannot set cookies, so not sure what happens if your token expired and supabase tries to refresh it but it fails to set the cookie. ...

Having trouble figuring out how to read headers in an edge function request

Has anyone had this happen to them? I'm creating an edge function, and to make sure it only gets called from a cron job, I added a "x-supabase-webhook-source" header (using the "custom source header" option). The header shows up when I test locally, but when I deploy the edge function, the function can no longer see the header. Should I be looking for request headers somewhere other than req.headers?
No description