https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • j

    Just_A_Mangled_Corpse.exe

    03/05/2023, 10:45 PM
    With a GitHub import
  • o

    Olyno

    03/05/2023, 10:46 PM
    Well, you build the libraries or use any cdn, i still confused about your issue 🤔
  • j

    Just_A_Mangled_Corpse.exe

    03/05/2023, 10:46 PM
    Ok this simplifies all my issues into one
  • j

    Just_A_Mangled_Corpse.exe

    03/05/2023, 10:46 PM
    i have no clue what i am doing
    o
    • 2
    • 25
  • o

    Olyno

    03/05/2023, 10:46 PM
    xD
  • a

    AdamJensen

    03/06/2023, 11:34 AM
    I'm relatively new to Supabase, but is there an ability to subscribe to event changes in storage buckets? Doing some realtime text editing like Google Docs and wondering if it's possible (or if I just haven't looked hard enough 😩 )
  • a

    AdamJensen

    03/06/2023, 11:34 AM
    Any help is much appreciated
  • o

    Olyno

    03/06/2023, 1:34 PM
    Hi welcome! But please ask in #1006358244786196510, this is a more appropriate place to ask for help
  • a

    AdamJensen

    03/06/2023, 1:35 PM
    Sorry I didn't think it warranted a full blown forum post 😄 . Cheers tho
  • j

    Just_A_Mangled_Corpse.exe

    03/06/2023, 5:03 PM
    lol
  • j

    Just_A_Mangled_Corpse.exe

    03/06/2023, 5:03 PM
    your a good mod btw
  • o

    Olyno

    03/06/2023, 5:31 PM
    I take it, thank you 🙂
  • j

    just9inches

    03/06/2023, 6:35 PM
    Hey I'm totally new to supabase trying to implement protected routes in nexjts using supabase auth but when i click to logout it is not redirecting back to login page how can i fix this ?
  • j

    just9inches

    03/06/2023, 6:37 PM
    😦
  • r

    Razoth

    03/06/2023, 7:32 PM
    @just9inches check for the session on those pages or via middleware, redirect to whatever page you want with next router.
  • j

    just9inches

    03/06/2023, 7:40 PM
    cookies not refreshing when i click on logout button
  • r

    Razoth

    03/06/2023, 7:44 PM
    @just9inches you can listen for SIGNED_OUT event and redirect based on that
  • r

    Razoth

    03/06/2023, 7:45 PM
    https://supabase.com/docs/reference/javascript/auth-onauthstatechange
  • j

    just9inches

    03/06/2023, 7:47 PM
    why cookies are not resetting on logout?
  • j

    just9inches

    03/06/2023, 7:48 PM
    never faced this issue with next auth
  • o

    Olyno

    03/06/2023, 9:42 PM
    Please checkout this discussion in #1006358244786196510
  • m

    mqp

    03/06/2023, 9:54 PM
    should my company create an HTTP endpoint where the client can send arbitrary SQL to execute, and then rely completely on postgres roles and RLS to make clients only able to do stuff that they should be able to do
  • m

    mqp

    03/06/2023, 9:54 PM
    i feel the answer is no... but i also don't know what would go wrong
  • m

    mqp

    03/06/2023, 9:54 PM
    supabase must think the answer is no or else they wouldn't have worked so hard to make their postgrest wrapper libraries
  • s

    ShashanKaf

    03/06/2023, 10:23 PM
    💁 💁 💁 I need to create an endpoint to check Stripe payment intent, right now I've done that through an express server while I have a Supabase backend as well. Is there a way to create an endpoint in Supabase for that? If so how ? Thanks
  • o

    Olyno

    03/06/2023, 10:47 PM
    #1006358244786196510 please
  • s

    ShashanKaf

    03/06/2023, 10:48 PM
    I've been scrolling there forever and never been able to find the box to write it, I'm kinda boomer this way but Discord seems pretty effed up
  • o

    Olyno

    03/06/2023, 10:50 PM
    Haha it is!
  • s

    silentworks

    03/06/2023, 10:50 PM
    The box is right at the top.
  • p

    pax

    03/07/2023, 1:17 AM
    you are using createServerSupabaseClient on the server-side while using a normal client on the client-side. Supabase might be unable to match sessions between these 2 contexts? You log out on the client-side, but you don't signal that for the server-side client. Maybe you could pass some jwt token or UUID from client to server and then check that. Idk, i'm just starting out with Supabase, but those 2 sessions have to match somehow
1...357358359...392Latest