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

    J0

    12/30/2021, 3:09 PM
    I'm not too sure as to whether you can change the password but am taking a look rn
  • b

    brandymarsh

    12/30/2021, 3:10 PM
    ah according to docs i can just directly alter user to change password, will try that now
  • b

    brandymarsh

    12/30/2021, 3:13 PM
    i changed the password to not include any special characters and it worked, thanks for your help @User !
  • j

    J0

    12/30/2021, 3:15 PM
    Ah cool yup! Seems like it's described here: https://supabase.com/docs/guides/database/managing-passwords np! didn't do much haha but glad you managed to resolve the problem šŸ™‚
  • n

    Nick

    12/30/2021, 3:55 PM
    hey folks, I'm just getting up and running with storage/buckets, trying to post a file to a bucket I've just created and I get:
    Copy code
    statusCode: '42501',
      error: '',
      message: 'new row violates row-level security policy for table "objects"'
  • n

    Nick

    12/30/2021, 3:55 PM
    Not really sure what to do with that?
  • n

    Nick

    12/30/2021, 3:56 PM
    my code is just this:
    Copy code
    const { data, error } = await supabase
        .storage
        .from('packages')
        .upload(attachmentName, attachment, {
          cacheControl: '3600',
          upsert: false
        });
  • a

    acosy

    12/30/2021, 4:24 PM
    Hey, all. I am getting a 401 from Supabase when trying to connect to a vercel project. I tried to submit a support request, but that gave me a 500 šŸ˜“. Perhaps a bad API key on someone's end?
  • n

    Nick

    12/30/2021, 5:26 PM
    Ok I see. I was using my "public anon" key for this, and I think I'm ok to use my "secret" key here and bypass RLS. I only need this in my API layer (where the key won't be presented to end users) for performing Admin functionality... that seems ok yea?
  • n

    Nick

    12/30/2021, 5:37 PM
    OK another question... how do I use foreign keys in supabase? I have a table of "Products" and a table of "Packages" and I want to relate each "Package" to a given "Product"
  • n

    Nick

    12/30/2021, 5:38 PM
    ah found it: https://supabase.com/docs/reference/javascript/select#query-foreign-tables
  • s

    silentworks

    12/30/2021, 7:01 PM
    Reset password flow
  • k

    ktosiek

    12/30/2021, 8:00 PM
    Just make sure you do your authorization checks in the API layer too, but that's the same as with any technology.
  • n

    Nick

    12/30/2021, 8:26 PM
    Yep, thanks!
  • n

    Nick

    12/30/2021, 8:26 PM
    One more question here (sorry, getting up to speed!): is there a way to configure supabase to create a row in a table for every user that signs up? I want to automatically generate API keys for users
    k
    • 2
    • 5
  • n

    Nick

    12/30/2021, 8:27 PM
    I could do that client-side I suppose, but this feels cleaner
  • e

    ekko

    12/30/2021, 8:35 PM
    hey everyone. hoping to get some help. our db is not allowing us to connect. our app is down as it relies heavily on our db. i know what the issue is too. one of our tables is over capacity. is there any visibility on our db? deleting one table should fix it, but nobody can connect to it
    s
    • 2
    • 4
  • e

    ekko

    12/30/2021, 8:36 PM
    we've also tried restarting the server, but that didn't do anything :/
  • k

    ktosiek

    12/30/2021, 8:40 PM
    Creating a profile for new users
  • m

    mendozer

    12/30/2021, 10:17 PM
    Hi. I’m getting this error when adding the remote db using the cli. Remote database Postgres version 120005 is incompatible with dbVersion 140001.
  • i

    imtiaz

    12/31/2021, 2:12 AM
    when I use google auth from supabase with nextjs, the access token is returned in this format localhost:3000/#access_token=foobar shouldnt it be localhost:3000/?access_token=foobar how do i access a value when its after a '#' and not a '?' ?
  • m

    mendozer

    12/31/2021, 4:42 AM
    Nested
  • a

    Anoushk

    12/31/2021, 5:32 AM
    My auth token expires very fast
  • a

    Anoushk

    12/31/2021, 5:32 AM
    in supabase console ive set it to 1 week
  • a

    Anoushk

    12/31/2021, 5:32 AM
    but i hv to login evrytime
  • a

    Anoushk

    12/31/2021, 5:33 AM
    and on page refresh also it expires
  • a

    Anoushk

    12/31/2021, 5:33 AM
    im using nextjs
  • a

    Anoushk

    12/31/2021, 5:42 AM
    u can just declare winow as a const and then use window.location.href.split('#').pop()
  • j

    jon114

    12/31/2021, 1:09 PM
    Hosted Supabase + Realtime URL
  • s

    sharif

    12/31/2021, 6:00 PM
    i have twitter auth setup and i was wondering if it was possible to bypass that and sort of "fake" a session so that i can still be logged in and develop without being connected to wifi
1...180181182...316Latest