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

    ProtoFeather

    02/11/2022, 9:06 PM
    I did 🙂
  • s

    StickSeas

    02/11/2022, 9:43 PM
    Hello Everyone. I'm using SvelteKit with Supabase and wondered if adding onAuthStateChange in the Hooks file is common. Officials docs has it on client side but some tutorials have in on server, in the hooks file. Since there isn't an official SvelteKit SSR guide, I wanted to ask.
    g
    s
    • 3
    • 5
  • g

    garyaustin

    02/11/2022, 10:06 PM
    sveltekit and auth
  • h

    honkstyle

    02/11/2022, 10:22 PM
    Is it possible to authenticate with supabase, but prevent any database queries without adding RLS to each table to disable it? Basically I plan on doing all db queries from the backend.
    s
    • 2
    • 5
  • s

    Scott P

    02/11/2022, 10:36 PM
    Supabase backend security
  • s

    sockenguy

    02/11/2022, 10:49 PM
    Guys I need some help I am creating a basic table with a foreign key to another table's id, but I get an error which really does not tell much
    Copy code
    invalid query
    How can I debug something like this?
    s
    g
    • 3
    • 29
  • s

    silentworks

    02/11/2022, 11:03 PM
    Error from foreign key on other table
  • d

    diegoalzate

    02/12/2022, 2:12 AM
    Hello everyone, quick question, what is the best way that i can handle my supabase database from the code? Like a way i can ci/cd updates to a supabase table that way i can version the table.
  • e

    engj

    02/12/2022, 9:41 AM
    how to change API URL name?
  • u

    'göktürk

    02/12/2022, 10:38 AM
    Copy code
    javascript
    const signInWithDiscord = async () => {
        const { user, session, error } = await supabase.auth.signIn({
          provider: "discord",
        });
        console.log(user);
    };
    Here, after the user logs in with discord, I want to get the user, but when the button is pressed, console.log works directly and the user is null.
    s
    • 2
    • 2
  • s

    silentworks

    02/12/2022, 12:45 PM
    Getting user when using third party login
  • s

    Sultan Mahfouz

    02/12/2022, 2:15 PM
    Hi all I am Sultan, flutter dev New to supabase and familiar with Firebase : ) I am facing difficulties using supabase, can not read or insert data : ( Any idea?
  • i

    Infrapuna

    02/12/2022, 3:49 PM
    Is there a way to return more than 50 records from the auth.api.listUsers() route?
    g
    s
    • 3
    • 6
  • g

    garyaustin

    02/12/2022, 4:35 PM
    listusers count
  • a

    atmanaut.eth

    02/12/2022, 7:15 PM
    Hi Supabasers, I can't figure out how to get redirectTo to work following a successful signIn with a magic email link. I see the redirectTo param in the magic link, but my Svelte Kit app lands at the root after the auth is verified. I've added the exact route to the Additional Redirect URLs in the authentication settings… how can I capture the redirectTo param after the callback? how can I debug this? feeling like a noob today
  • s

    Sealion

    02/12/2022, 11:08 PM
    No really sure where to ask this but I'll try here at #843999948717555735 . I'm building a very simple application, which will have a few different organisations, with many users. The users within each organisations will be able to create, read, updater and delete the data connected to the organisation. How do i set this up with RLS?
  • s

    Sealion

    02/12/2022, 11:09 PM
    I come from using mongodb and I would just add another field org_id, then look up the user and which org_id and if it matches, get the results
  • s

    Sealion

    02/12/2022, 11:12 PM
    I guess it is some sort of multi-tenant related question so I guess I am not the first one to ask..
    g
    s
    • 3
    • 13
  • u

    2old4this

    02/12/2022, 11:19 PM
    How do i tell if the session/user in local storage is the most current one? Im only using magic link for now. for example someone is uses multiple browsers at different times. Whats the best practice for that? Any help would be appreciated. i realize this is basic stuff, but its a first for me.
    g
    • 2
    • 7
  • d

    Daveo

    02/13/2022, 1:30 AM
    hey guys how to create triggers/functions/hooks on local studio?
  • g

    garyaustin

    02/13/2022, 2:08 AM
    Triggers and functions are just postgres things so you can create them thru the sql editor window or a database utility connected thru the postgres connection. I've not messed with hooks but they use supabase/pg_net extension. Don't know when/if the UI for them is part of the plan, don't see them on the local CLI install I did.
  • j

    Jim

    02/13/2022, 12:00 PM
    hey all just a quick one, do the
    lte()
    gte()
    filter functions work with timetamps?
    • 1
    • 2
  • p

    phil

    02/13/2022, 12:58 PM
    Hey, thinking of using supabase for a next nextjs project im working on. What would you suggest I use to host/deploy my project too?
  • j

    Jim

    02/13/2022, 1:03 PM
    vercel or netlify?
  • p

    phil

    02/13/2022, 1:03 PM
    any experience whether render.com is decent?
  • j

    Jim

    02/13/2022, 1:04 PM
    afraid not! I've only really used netlify for production
  • j

    Jim

    02/13/2022, 1:06 PM
    the advantage of vercel is that it runs all of next's features out the box (i.e. middleware) netlify's edge handlers are still in closed beta
  • j

    Jim

    02/13/2022, 1:06 PM
    netlify is more framework agnostic tho
  • p

    phil

    02/13/2022, 1:06 PM
    oh nice
  • r

    realatok

    02/13/2022, 3:19 PM
    does somebody know how to cache images from storage in-app? is it only possible via e.g. localstorage or is it even possible server side?
    g
    • 2
    • 1
1...219220221...316Latest