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

    silentworks

    12/11/2021, 11:22 AM
    Client id and secret for third party providers
  • s

    silentworks

    12/11/2021, 11:23 AM
    Supabase Walrus
  • j

    joaogarin

    12/11/2021, 2:29 PM
    Does anyone know if there is a limitation in making uathenticated requests inside a nextjs api route? I keep getting row level security errors where in hte client it seems like I am not
  • j

    joaogarin

    12/11/2021, 2:29 PM
    in this case for storage but I can also see similar things happening in getserversideprops..
  • j

    joaogarin

    12/11/2021, 2:31 PM
    my repo is based on https://github.com/vercel/nextjs-subscription-payments so it has the useuser hook that should set it up for subsequent api requests
  • j

    joaogarin

    12/11/2021, 2:41 PM
    I guess this is similar to this question https://github.com/supabase/supabase/discussions/2736
  • j

    joaogarin

    12/11/2021, 2:52 PM
    managed to make it work by passing the session from client to the api route, and then setting the auth like this :
    Copy code
    await supabase.auth.setAuth(req.body.session.access_token);
    I didn't find much information about this though But seems to work
  • j

    joaogarin

    12/11/2021, 3:08 PM
    supabase is awesome šŸŽ‰
  • j

    joaogarin

    12/11/2021, 3:08 PM
    šŸ˜†
  • u

    user

    12/11/2021, 4:01 PM
    of course it works
  • u

    user

    12/11/2021, 4:01 PM
    why wouldn't it
  • u

    user

    12/11/2021, 4:01 PM
    if you can call the function serverside as well as client side it will work
  • u

    user

    12/11/2021, 4:02 PM
    it's more about Next.js being awesome, since unlike with a traditional tech stack your frontend and backend are so close together you can do stuff like that much easier
  • e

    eMeRiKa

    12/11/2021, 6:58 PM
    What library, compatible with Nuxt3, do you use to handle image resizing before uploading the media to Supabase for the storage?
  • s

    sudo killall windows

    12/11/2021, 9:12 PM
    All my supabase realtime stuff just broke
    s
    • 2
    • 5
  • s

    sudo killall windows

    12/11/2021, 9:12 PM
    troubleshooting now
  • d

    DevilsBlade0

    12/11/2021, 10:13 PM
    Hi guys
  • d

    DevilsBlade0

    12/11/2021, 10:13 PM
    New here
  • d

    DevilsBlade0

    12/11/2021, 10:13 PM
    How can I check the pinned posts
  • d

    DevilsBlade0

    12/11/2021, 10:13 PM
    Thank you
  • j

    jensen

    12/12/2021, 12:23 AM
    I have only been able to get server-side auth to work by modifying GoTrue and self hosting. Otherwise I have to do what everyone else seems to have to do, grab the token on the client and pass it back to the server. I found that was buggy though, for example if a user signed in with an ad blocker, the cookie wasn't being set. I haven't had any issues with server side auth yet though.
  • b

    bajosi

    12/12/2021, 12:33 AM
    i just noticed logflare joins supabase! thats very nice
  • l

    Lucho SuƔrez

    12/12/2021, 12:58 AM
    hello. Is there any way to customize the email templates? I changed the template for the Magic Link and it only changed the subject. I added a whole different html template for the body and it keeps sending the same default one. Can't find any info on what else to do
    d
    • 2
    • 6
  • l

    Lucho SuƔrez

    12/12/2021, 9:11 AM
    solution
  • s

    shivam51

    12/12/2021, 1:41 PM
    What is the way to override all/some RLS using service keys?
  • k

    Kubsz

    12/12/2021, 6:10 PM
    can someone help me with .textSearch?
  • k

    Kubsz

    12/12/2021, 6:10 PM
    anyone know how I'd format this query with js?
  • d

    DevilsBlade0

    12/12/2021, 6:38 PM
    I think if you to setting and api it shows example using your table
  • k

    Kubsz

    12/12/2021, 6:38 PM
    what do you mean?
  • t

    tourdownunder

    12/12/2021, 9:04 PM
    You can wrap your sql into a
    rpc
    and call your new function something like
    seach_books
    excepting a param as the search text.
1...159160161...392Latest