Supabase

S

Supabase

Join the community to ask questions about Supabase and get answers from other members.

Join

Any up to date resources on how to implement password reset flow in a react-native expo app?

Trying to redirect from password reset email link and deeplink into a password update page on my react-native expo app. Is this possible? Can't find any up to date resources on this or any relevant info on the supabase docs.

**URGENT HELP NEEDED** I think i delete/reset all the data from by database

Hey all! I'm in serious trouble and could really use your help What happened: I completely messed up my production database today trying to add a referral system So basically I was running supabase db push to add some new tables for referral codes, and it hit some migration conflicts. Instead of backing out, the migration process seems to have just... deleted/reset my entire production database ...

TypeScript: insert()/update()/upsert() argument type too permissive

Hello Supabase devs and community, I'm dealing with an issue related to the TypeScript types of the mutation methods of the supabase-js client. Specifically, I'm finding that I can call these functions with keys that don't correspond to table columns and I won't get a type error, only a runtime error. For example:...

How do I debug preview/dev branches not showing up with the GitHub Integration?

I've tried pushing branches and I've tried creatign PRs, no branch every shows up but main... Also, is it possible with the Vercel integration to get all of the env vars setup (and customized) so that every preview branch points to the preview db, etc?"...

Account Sign-In Not Working

Hi everyone! I have been trying to sign into my Supabase account (which I signed up for through GitHub account), but it has been on loading page the entire time. When I go to the dashboard via domain url ('/dashboard'), it loads it partially, as if its still loading, then says my session was timed out and signs me out. So, I go to log in again, and it shows the loading screen of doom. Has anyone gotten this issue, and if so, how did you resolve it? Thanks!

How to grab access token from getClaims call?

Good afternoon, I was wondering if it's possible to get a users access token from a getClaims call. I'm working on an API call that sends off a request to Inngest to run some background tasks. In one of the steps I need to create the client with the access token to update data for the user....

Failed to get SMS provider

I am trying to test SMS MFA using a local instance of supabase (v2.34.3). Below is my configuration ``` [auth.sms.test_otp] "my_phone_number" = "123456"...

Admin UI is not loading/times out

I keep getting timeouts on all the APIs on the Supabase UI, I can't make changes to my project (I am the owner), and everything takes about 30s+ to load. There's something going on in your API. I just spent 20 minutes seeing error messages on timeouts trying to update a redirect URL. Zone is us-east-2

infinity loading

Hi, currently getting looped despite having stable internet connection. Tested data and WIFI.
No description

Resend Invitation Email

Hi! We find ourselves in a situation where our Invite email tokens are expiring for customers frequently and causing a huge headache on all sides. Our invitation flow is done/commissioned when we collect payment which is typically handled by different individuals than those using our product. ...

Supabase UI Library

Hello, I’m hoping that someone can give me a better perspective on this. I am wanting to build a new NextJS project using the Supabase UI Component Library. I am trying to understand the “Platform Kit” https://supabase.com/ui/docs/platform/platform-kit”. It seems as this is a Admin Panel for Supabase. My question is if I install this - do I still need to install ...

AI assistant error

I keep getting the error: Sorry, I'm having trouble responding right now. If the error persists while retrying, you may try clearing the conversation's messages and try again. When trying to use the AI assistant...
No description

Migrating to JWKS

Hi friends! I'm migrating our project to use JWKS and a bit confused on backwards compatibility: When I want to rotate my keys, the docs appear to say all new JWTs will be signed with the new private key, and therefore verifying these new keys would no longer work? I understand anon key remains valid (my frontend react client is using the anon key to authenticate) but as a user, if im still testing this locally, how can I generate a new JWT with the new private key before fully rotating?...

Get supabase url from postgres

Hi, I am trying to construct the url of my edge function so i can call it with pg_net. I hoped app.supabase.url would exist function_url := current_setting('app.supabase.url', true) || '/functions/v1/push'; ...

Supabase: .order() not working on joined table column

Hi everyone, I have the following tables: table public.buildings ( id uuid not null default extensions.uuid_generate_v4 (), name character varying(255) not null,...

Insert into users.profiles right after signUp() (email confirmation flow) — request goes as anon, 40

Context * Nuxt 3 + Nuxt Supabase client * Email confirmation enabled * Table: users.profiles with FK to auth.users(id,email) and RLS...

transfering data to a new Supabase branch

hello guys , so i was working on a new feature that requires me to test on production data but at the same time i dont want to miss with production data , so i creaated a new branch , and i want it to have production data in it , how is this possible i tried to use pg_dump and stuff , but they werent not working as expected , could anyone one help me here...

RPC call slower via supabase client than via sql editor in the browser

I am working with supabase in an expo project and noticing that an RPC call that takes like 13ms in the sql editor in the supabase console can take 500ms+ via the supabase client. I am trying to understand where the latency is coming from — is this an unavoidable overhead from the client itself (serialization etc)? Are there any strategies for paring this down?...

Signed in, but JWT has expired when signing in using refresh token on C# client

After some testing I've realized that my problems with refresh tokens were not that I didn't get signed in, but that the authorization in my Edge functions doesn't work properly, but only when using the refresh token though! I'd be very grateful if someone could point me in the right direction here. This is the error message: AuthApiError: invalid JWT: unable to parse or verify signature, token has invalid claims: token is expired...