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

    chek

    07/14/2022, 2:35 PM
    Hey there! Working in the new interface and noticed that
    -
    don't work in URLs. Really sucks fro those of us using vercel deployments, for example πŸ˜† I'm happy to open a PR to fix but it'd be my first contribution and I'm not familiar with the new interface at all.
    n
    s
    j
    • 4
    • 11
  • u

    uneatenauthor

    07/14/2022, 3:26 PM
    Do we have a practical and performant way to implementation user roles at this point? Ideally multiple users added to potentially multiple groups where groups have scoped access to data. This is for a multi-tenant system. Example: User A belongs to Department 1 with RO access and Department 2 with RW access User B belongs to Department 2 with RO but cannot read or write Department 1 data. Each single row of data belongs to only one Department at a time and can only be edited by those who are in the Department RW group.
    n
    o
    +2
    • 5
    • 10
  • e

    e.sh

    07/14/2022, 4:01 PM
    hello how do I add additional data to users table?
    n
    g
    • 3
    • 5
  • b

    Blade

    07/14/2022, 5:26 PM
    Is it possible to have auth with providers (ie. github) but server side? I mostly want to be able to know whether a user logged in on the server, and whether its the first time logging in (thus being a signup)
    n
    o
    • 3
    • 7
  • πŸ†• drewbie (2022-07-14)
    n

    Needle

    07/14/2022, 7:17 PM
    Hello @drewbie! 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.
  • s

    sb

    07/14/2022, 8:08 PM
    Hey all! I found out that magic links expire after being clicked. Would it be possible to disable this? We send magic links via whatsapp and it seems that Meta crawls the URL automatically, which then invalidates the magic link when the user clicks on it. Stuck πŸ€”
    n
    g
    • 3
    • 3
  • s

    sixfour

    07/14/2022, 8:37 PM
    If I'm using the Google Auth Provider, when are supabase auth cookies set? I'm noticing an issue where the auth cookies are set locally but not in production
    n
    • 2
    • 1
  • s

    sb

    07/14/2022, 8:54 PM
    This website is not working: https://app.supabase.com/support/new
    n
    g
    j
    • 4
    • 6
  • b

    Bicijay

    07/14/2022, 10:41 PM
    Will it count as storage egress every time an user open a image inside my app? Or does supabase cache the image so its not downloaded from the storage every time?
    n
    • 2
    • 2
  • l

    Lukas

    07/15/2022, 12:04 AM
    How can I move this to
    _app.tsx
    so I can use pages as normal (essentially I want to pass
    session
    from _app)
    n
    l
    • 3
    • 5
  • a

    ak4zh

    07/15/2022, 2:31 AM
    I am trying to implement a post view counter function, any ideas on how can I prevent users from increasing views by just calling the api unlimited times. Some sort of per IP rate limit available
    n
    g
    j
    • 4
    • 3
  • l

    Leonardo-ironeko

    07/15/2022, 7:16 AM
    Does anyone know if there is an official supabase postgres image with pgbouncer?
    n
    j
    • 3
    • 4
  • s

    STILLWATER;

    07/15/2022, 7:47 AM
    how do i update() value in supabase.js using previous value like age=age+1 in one syntax
    n
    j
    g
    • 4
    • 16
  • k

    Keooo

    07/15/2022, 8:10 AM
    why am I getting this error when trying to run the www on local? I have ran npm install npm run dev
    n
    j
    j
    • 4
    • 11
  • m

    Maji

    07/15/2022, 9:54 AM
    Hey guys πŸ‘‹ I tried to use twitter oauth with react in localhost but when I call the signIn function I'm redirected to this URL :
    https://localhost:3000/db.****************.supabase.co/auth/v1/authorize?provider=twitter
    Here are my supabase and twitter oauth config
    n
    j
    • 3
    • 15
  • u

    𝐒𝐚𝐦𝐦𝐚𝐫𝐀𝐩𝐬

    07/15/2022, 10:05 AM
    do I need to use kong for supabase if i am using only db and realtime?
    n
    • 2
    • 3
  • p

    Puaki

    07/15/2022, 12:07 PM
    hi guys, why does my console still show the 406 error even when i specifically wrote the code not to throw any 406 error?
    n
    g
    • 3
    • 8
  • g

    gesusc

    07/15/2022, 1:18 PM
    Has anyone set up a project using Supabase with Replicache? I am experimenting with the two and I was wondering if there was a way to access the database as an authenticated user (so that RLS policies take affect) that allows me to use transactions on the backend?
    n
    g
    • 3
    • 6
  • b

    Blade

    07/15/2022, 4:03 PM
    I'm getting an error trying to use https://github.com/supabase-community/auth-helpers/tree/main/examples/sveltekit-email-password On login the endpoint doesn't get cookies back from the callback thus erroring out:
    TypeError: Cannot read properties of null (reading 'split')
    Code in question:
    Copy code
    js
    if (session) {
        const response = await fetch("http://localhost:3000/api/auth/callback", {
            method: "POST",
            headers: new Headers({ "Content-Type": "application/json" }),
            credentials: "same-origin",
            body: JSON.stringify({ event: "SIGNED_IN", session })
        });
    
        // TODO: Add helper inside of auth-helpers-sveltekit library to manage this better
        const cookies = response.headers
            .get("set-cookie")
            .split("SameSite=Lax, ")
            .map((cookie) => {
                if (!cookie.includes("SameSite=Lax")) {
                    cookie += "SameSite=Lax";
                }
                return cookie;
            });
        headers["Set-Cookie"] = cookies;
    }
    n
    s
    • 3
    • 4
  • a

    Akuma

    07/15/2022, 4:20 PM
    Hey there hope you guys is doing well, got 2 questions. 1.) Is there a way to make supabase more fast? specially on realtime because im making a game with it, its a rpg mmo and i'd need changes in less than 0.5 seconds. i was thinking about host it on a aws server, idk, what you guys says o recommend about it. 2.) When i subscribe to any events to listen it on realtime, is there a way that return all items in an array? example: i got 1 table of items, a guy called 'Michael' update 1 item but he got 5 items more, when he update that item can he get an array with all his items, including the one he edited?
    n
    j
    • 3
    • 2
  • v

    viv

    07/15/2022, 5:38 PM
    Hi, I can't find the proper documentation how to use the Storage API without SDK. Is there any?
    n
    g
    • 3
    • 6
  • b

    bhaskar

    07/15/2022, 6:10 PM
    Hi, i am getting
    new row violates row-level security policy for table "prices"
    i deleted all the policies as well, still getting it
    n
    g
    • 3
    • 5
  • πŸ†• TSIA_SN (2022-07-15)
    n

    Needle

    07/15/2022, 7:43 PM
    Hello @TSIA_SN! 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.
  • j

    Joshios

    07/15/2022, 7:50 PM
    Is there any way to make an auth as a simple pinn code
    n
    g
    • 3
    • 2
  • r

    React noob

    07/16/2022, 12:31 AM
    I'm trying to upload an image but i have this error
    Copy code
    js
    {
        "message": "invalid input syntax for type real: \"\"",
        "code": "22P02",
        "details": null,
        "hint": null
    }`
    n
    g
    • 3
    • 14
  • s

    Sillvva

    07/16/2022, 1:51 AM
    I've got an issue with uploading a file to storage using the JavaScript API. I've tried
    update
    ,
    upload + upsert
    ,
    delete + upload
    . I've also tried setting
    cacheControl: '10'
    . The upload seems to be successful, because the
    Last modified at
    field updates in every case, but when the file is downloaded from the Supabase storage UI or read via the API, I am seeing the content of the previous version of the file. Can somebody explain why this is happening and how to fix that?
    n
    g
    • 3
    • 7
  • a

    AlanK

    07/16/2022, 3:06 AM
    A big thank you to all working on the auth-helper for sveltekit. The new release is so much easier to follow but I got the following error with @sveltejs/kit" "version": "1.0.0-next.377"
    Copy code
    Error: Endpoint method "post" has changed to "POST". See https://github.com/sveltejs/kit/discussions/5359 for more information.
        at file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:163:13
        at Array.forEach (<anonymous>)
        at check_method_names (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:160:42)
        at render_endpoint (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:193:3)
        at resolve (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:2232:59)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at async handle (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/logout.js:9:19)
        at async user (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/user.js:7:21)
        at async handle (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/callback.js:9:19)
        at async session (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/session.js:81:20)
    n
    s
    • 3
    • 9
  • m

    magicss

    07/16/2022, 12:14 PM
    Hello guys, is it possible to invit friend into a project ?
    n
    v
    • 3
    • 19
  • m

    mattd

    07/16/2022, 1:09 PM
    What are the best practices for association of files in a bucket with users? Folder named after user id and create that policy, like in policy templates? The documentation has the auth.uid() = owner as well, but I can’t find or see the owner field within Supabase UI
    n
    g
    • 3
    • 4
  • b

    Bicijay

    07/16/2022, 1:30 PM
    Hey guys does supabase have plans to support other s3 compatibles cloud providers? Something like Backblaze and BunnyCDN? (which would make my egress fees muuuch lower)
    n
    g
    • 3
    • 4
1...301302303...316Latest