https://supabase.com/ logo
Join Discord
Powered by
# help
  • a

    Aav

    05/10/2022, 11:29 PM
    Hi y'all, when I'm trying to do
    docker-compose up
    to start my Supabase instance, I'm getting
    Copy code
    ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
    What should I do here to fix that?
    n
    j
    • 3
    • 7
  • a

    arcavid

    05/10/2022, 11:59 PM
    Hello, can I use getServiceSupabase in next.js middleware? Would that be safe?
    Copy code
    ts
    export const getServiceSupabase = () =>
      createClient(
        process.env.NEXT_PUBLIC_SUPABASE_URL,
        process.env.SUPABASE_SERVICE_ROLE_KEY
      )
    n
    o
    • 3
    • 4
  • d

    donpuerto

    05/11/2022, 12:59 AM
    Hi I have this error, any idea how to solve this problem Error Message: message: 'new row violates row-level security policy for table "users"', code: '42501', details: null, hint: null}
    n
    s
    • 3
    • 7
  • a

    Aav

    05/11/2022, 2:51 AM
    Okay, new set of errors that I'm getting. When I do
    docker compose up
    , I get
    supabase-storage   | exec /bin/sh: exec format error
    and
    supabase-meta      | exec /bin/postgres-meta: exec format error
    on run. This causes everything else to fail because it can't connect to the database. What can I do to resolve this?
    n
    j
    k
    • 4
    • 87
  • b

    Bryan K.

    05/11/2022, 5:54 AM
    How do I change the 'redirect_to' parameter that is included at the end of the confirmation URL in an invitation by email process?
    n
    j
    b
    • 4
    • 57
  • n

    Needle

    05/11/2022, 8:35 AM
    Hello @yuyu! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
    • 1
    • 2
  • v

    vamonke

    05/11/2022, 3:33 PM
    Hi all! First post here. Having trouble with migrating: https://supabase.com/docs/guides/database#migrating-between-projects What is
    OLD_DB_URL
    and
    NEW_DB_URL
    ? where can i find them?
    n
    b
    • 3
    • 7
  • t

    Thomas

    05/12/2022, 1:13 AM
    hey! im trying to login to supabase with github, but when i complete the oauth prompt it takes me back to the app.supabase.io splash page.
    n
    b
    • 3
    • 17
  • g

    Gnee

    05/12/2022, 3:48 AM
    Hello. I'm going thru the Egghead tutorial. Is the updated way to handle session on this step like this?
    Copy code
    supabase.auth.session = () => ({
        access_token: token,
        token_type: 'Bearer',
        user
      });
    Or should token_type be something different?
    n
    j
    • 3
    • 10
  • f

    Fainaru

    05/12/2022, 4:21 AM
    Hello, How can I change the host of my local edge functions to use them externally?
    n
    • 2
    • 1
  • a

    abc222

    05/12/2022, 8:26 AM
    Hello, How can I prevent an user from inserting multiple rows in a table ?
    n
    o
    m
    • 4
    • 10
  • a

    abc222

    05/12/2022, 8:33 AM
    Hello, How can i get the ip address and the user-agent of an user if I need it for legal reasons ?
    n
    o
    g
    • 4
    • 5
  • t

    theuknowner

    05/12/2022, 11:22 AM
    Hello guys. I have built a chat app on Supabase but I'm not sure if postgres is good for a realtime chat. My main concerns are about multiple concurrent writing operations in db. For example, if we have 1000 connected users each user has to send last_time active for presence every x seconds. If 1000 users use chat at the same time, the typing function could send 1000 concurrent reqs to db. Aren't these too many requests? Please correct me if I'm wrong.
    n
    b
    • 3
    • 5
  • p

    Paul

    05/12/2022, 2:26 PM
    can we use vercel domain redirect with google auth yet ?
    n
    b
    • 3
    • 38
  • s

    Steve

    05/12/2022, 3:37 PM
    Why is this happening. It's slowing down my app
    n
    b
    • 3
    • 6
  • i

    ian_

    05/12/2022, 10:01 PM
    hey, what would be the easiest way to restrict access to view/edit supabase data based on discord roles?
    n
    g
    • 3
    • 14
  • l

    lumen

    05/12/2022, 11:07 PM
    Hey guys! I'm new to Supabase. My goal is to implement Supabase Auth with Next.js middleware. Are there any tutorials or open source examples I can learn from? I found this one: https://github.com/supabase/supabase/tree/master/examples/nextjs-with-supabase-auth But I'm not sure how it works, and I can't find any docs or tutorials explaining supabase-auth-helpers, and how to use them with SSR, and how I can adapt them to use with Next.js middleware. Can you help me out and point me in the right direction?
    n
    g
    • 3
    • 3
  • a

    AmusedGrape

    05/13/2022, 2:41 AM
    question for the amazing supateam or anyone else that might be able to answer this; is there any way I can contribute to this issue, or have it fast-tracked? i'll need it pretty soon so the sooner the better. issue in question: https://github.com/supabase/gotrue/issues/279
    n
    • 2
    • 1
  • s

    sameh

    05/13/2022, 8:26 AM
    I have a question about phone auth. What is required to add a new phone auth platform such as unifonic (https://www.unifonic.com/). we are trying to use phone authentication in MENA region and most SMS's by twilio are blocked by carriers the region.
    n
    • 2
    • 1
  • m

    Martin INDIE MAKERS

    05/13/2022, 1:01 PM
    Hey guys in supbase cli when i list my secret i have only 2 and not the 4 like say in the doc, do someone have issue too ?
    n
    b
    • 3
    • 5
  • t

    Tim Everett

    05/13/2022, 1:16 PM
    Does anyone know if Supabase supports transferring a project to a different organization?
    n
    o
    • 3
    • 5
  • k

    kapowell

    05/13/2022, 8:35 PM
    Does anyone know how to self host edge functions? or if you can at all? using the supabase CLI seems like you have to deploy edge functions to the hosted option. However, i am currently doing a POC for my company with supabase but it is hard to do anything self hosted with supabase it seems. I know i could pay for support contract but there is now way to get that unless the poc is successful lol. All help is appreciated
    n
    g
    • 3
    • 9
  • n

    Needle

    05/13/2022, 10:02 PM
    Hello @Gnee! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • f

    franfernandez

    05/13/2022, 10:46 PM
    Hello and thx in advance. How can I setup a dev enviroment to make some auth tests. When I "signIn" I 'm being redirect to my "production" deploy on vercel instead keeping on localhost. I'm trying with the next solution without success 😩
    Copy code
    js
    async function signInWithGoogle() {
          const { user, session, error } = await supabase.auth.signIn({
            provider: 'google',
            redirectTo: window.location.origin
          })
          console.log('error', error)
          console.log('session', session)
          console.log('user', user)
        }
    n
    n
    • 3
    • 6
  • n

    Needle

    05/14/2022, 1:27 AM
    Hello @Steve! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • n

    ngs

    05/14/2022, 3:42 AM
    Just starting with supabase, following the sveltekit quickstart. It's all up and running, but signout is causing me some trouble. It keeps throwing the error
    null is not an object (evaluating 'ne.auth.user().id')
    , even when implemented exactly as described in the quickstart. Any idea what I've done wrong? Or how to fix it?
    n
    g
    • 3
    • 4
  • s

    Steve

    05/14/2022, 4:32 AM
    Why aren't my tables showing up in the "Replication" tab?
    n
    g
    • 3
    • 4
  • l

    loderunner

    05/14/2022, 6:35 AM
    Hai, I'm new to supabase, I want to ask is supabase support for scaling? Can anyone point me to the right resource about scaling supabase instance?
    n
    b
    • 3
    • 8
  • a

    Ape R Us

    05/14/2022, 7:29 AM
    hey, can someone tell me what is the best practice when it comes to sending a post request i know i can call a function and send data directly to supabase from the client but is it better to sent it through an endpoint? im using svelte
    n
    k
    • 3
    • 3
  • k

    kwangure

    05/14/2022, 10:24 AM
    Where is the server-side authorization code that runs on supabase. When I call /auth/v1/authorise?provide=abcdef or /auth/v1/callback...where on Github is the backend code that handles those requests?
    n
    b
    • 3
    • 7
1...269270271...316Latest