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

    askrodney

    11/12/2021, 2:17 PM
    Do I need to use a different mechanism to log in as user on Worker vs. using anon key?
  • a

    askrodney

    11/12/2021, 2:18 PM
    I am sending both apikey and Authorization: Bearer headers
  • a

    askrodney

    11/12/2021, 2:18 PM
    Thanks if you're able to help!
  • m

    Marky

    11/12/2021, 2:25 PM
    is there a way to overwrite when uploading to storage if you do the same name, right now it errors out
  • a

    askrodney

    11/12/2021, 2:28 PM
    not used sb storage but know with other providers you can turn on versioning for your bucket and instead of overwrtting you get a file with the same name but different id. when you try to DL you get the latest version by default
  • m

    Marky

    11/12/2021, 3:56 PM
    Has storage buckets died for anyone?
  • m

    Marky

    11/12/2021, 4:01 PM
    All my images died and my bucket won't load in the control panel
  • m

    Marky

    11/12/2021, 5:20 PM
    and again
  • m

    Marky

    11/12/2021, 5:27 PM
    and yet again
  • m

    Marky

    11/12/2021, 5:28 PM
    I'm using 4mb space, but it keeps freezing trying to upload 2Kb images.
  • a

    askrodney

    11/12/2021, 7:00 PM
    Hey I'm still stuck on the refresh issue but will check back again tomorrow or Monday to see if anyone had a moment to make a suggestion
  • m

    Marky

    11/12/2021, 7:19 PM
    this is a disaster
  • e

    ekko

    11/12/2021, 9:12 PM
    having this same problem
  • e

    ekko

    11/12/2021, 9:12 PM
    found a solution?
  • e

    ekko

    11/12/2021, 9:13 PM
    it will be a policy, but unsure of the syntax
  • m

    Marky

    11/12/2021, 9:14 PM
    no, using a public storage
  • e

    ekko

    11/12/2021, 9:14 PM
    same. but you will need to set a policy to overide an object. like how u have to setup a policy to upload/download
  • m

    Marky

    11/12/2021, 9:15 PM
    my bucket keeps disappearing, as does my api
  • s

    sanketc

    11/12/2021, 10:26 PM
    What is the best way to replicate a supabase postgres database so I can use it as a read only for analytics purposes?
  • k

    kenta37

    11/13/2021, 12:05 AM
    I'm using onAuthStateChange and when i change auth state it seems like this function runs several times. How can i avoid this?
    g
    j
    • 3
    • 5
  • k

    kenta37

    11/13/2021, 12:06 AM
    This is what was displayed in console after I clicked the sign out button once
  • t

    tourdownunder

    11/13/2021, 12:07 AM
    is it a different event each time?
  • k

    kenta37

    11/13/2021, 12:11 AM
    I'm logging the event now and it's the same event
  • g

    garyaustin

    11/13/2021, 12:17 AM
    Looks like you are using React. Are you somehow running that function multiple times? I seem to remember a similar issue with multiple supabase auth.onAuth.... when I was using React and it was the function being run each time the page transitioned to in the Router. Had to put the call into a useEffect with [].
  • s

    silentworks

    11/13/2021, 12:20 AM
    onAuthStateChange being called multiple times
  • p

    ppikachu

    11/13/2021, 1:50 AM
    Did you managed to solve the Google oauth verification process? If so could you share your insights? Thanks!
  • l

    lnraahCC

    11/13/2021, 1:08 PM
    no, i am still unable to solve this problem
  • p

    ppikachu

    11/13/2021, 3:03 PM
    Ok, I'll let you know if I get it working. Thanks!
  • a

    AirDiamond

    11/13/2021, 6:01 PM
    Can anyone point me to a vanilla Javascript example of simply connecting to Supabase and pulling some records from a table for which RLS has not been configured? I'm having a tough time getting this to work, and all the tutorials I'm seeing are using some framework that's making it more complicated for me to understand. Thank you!
  • a

    askrodney

    11/13/2021, 7:17 PM
    I'm no expert but there is a REST API you could use fetch to try what you're doing with vanilla JS: https://supabase.io/docs/guides/api#using-the-api
1...130131132...316Latest