https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • l

    Lars

    04/14/2022, 9:32 PM
    It is pretty common to create and associate a public.profile row to an auth.user. But is it possible to "elevate" a profile to a user? Say I have a lot of profiles og i.e. students. And on of those student now need a login. Can I somehow "elevate" that profile to a user and have them associated? I can't seem to get my head around this.
  • k

    kbanta11

    04/14/2022, 9:35 PM
    I keep getting an
    Error confirming user
    with a 500 status when trying to use verifyOTP (this used to work, but today isnt). Has anyone else been experiencing this?
  • k

    kbanta11

    04/14/2022, 9:36 PM
    (get a different error when the phonenumber or code is incorrect, so i know those are correct)
  • h

    Hal

    04/14/2022, 11:28 PM
    Hi guys, is there a
    signWithToken
    . I want to implement something in Figma plugins.
  • p

    prattjc

    04/15/2022, 8:28 AM
    Hi everyone 🙂
  • r

    ryry

    04/15/2022, 9:24 AM
    Hello, I'm getting 522: Connection timed out errors for all API calls. I also can't submit a support ticket via https://app.supabase.io/support/new
  • a

    anon_123

    04/15/2022, 10:18 AM
    Would you say that Supabase is a good platform for building my own SaaS solution that does auth, db and functions but for a more niche market. Leveraging Supabase under the hood?
  • c

    charbs

    04/15/2022, 10:32 AM
    Looking for the same thing...
  • o

    Olyno

    04/15/2022, 10:34 AM
    Hi The graphql extension does support mutations! > Tables similarly recieve entrypoints in the Mutation schema that enable bulk operations for insert, update, and delete. cc @charbs @Invader
  • c

    charbs

    04/15/2022, 10:42 AM
    Thanks. However i'm still trying to figure out how/where to see the available mutations/queries for my schema. I thought perhaps i can use apollostudio to load that (
    https://[projectid].supabase.co/graphql/v1
    )
  • o

    Olyno

    04/15/2022, 10:44 AM
    It should gives you the graphql playground, doesn't it?
  • c

    charbs

    04/15/2022, 11:00 AM
    I'm not working locally 😅 Should i be? In any case, I've figured out how to run it on apollo studio. Thank you.
    o
    i
    • 3
    • 4
  • k

    KremBanan

    04/15/2022, 2:17 PM
    does anyone know of a react hook wrapper like react-query for supabase?
  • m

    MDobs

    04/15/2022, 2:34 PM
    like these? https://github.com/tmm/react-supabase
  • k

    KremBanan

    04/15/2022, 2:46 PM
    yea exactly, cool. seems a bit lacking with api's though, i think ill make my own
  • g

    Gui BL

    04/15/2022, 4:00 PM
    This also exists https://github.com/gbibeaul/use-supabase
  • g

    Gui BL

    04/15/2022, 4:01 PM
    shameless plug 😂 I built this haha
  • i

    Invader

    04/15/2022, 4:04 PM
    isn't the supabase node library already super simple to use?
  • i

    Invader

    04/15/2022, 4:04 PM
    takes like 3 lines to import the client from a shared file
  • g

    Gui BL

    04/15/2022, 4:05 PM
    Yep it is! The only added benefits to add some react bindings is for convenience. Stuff like storing the user in a context or having some SWR mechanics
  • i

    Invader

    04/15/2022, 4:18 PM
    I'm using a manual user table since web3 PR isn't in supa yet
  • i

    Invader

    04/15/2022, 4:18 PM
    Currently I'm inserting the user on sign up but is this a good system for storing user in context + refresh checking? Thinking of using something like Iron Session and having an API route to fetch user from db as a page middleware on next js
  • g

    Gui BL

    04/15/2022, 6:21 PM
    Is middleware compatible with iron session? You could also juste encrypt it in JWT and decrypt it in middleware.
  • g

    Gui BL

    04/15/2022, 6:22 PM
    If you fetch the user from a DB make sure the latency from the DB call is quick, it will time out otherwise
  • i

    Invader

    04/15/2022, 7:28 PM
    What I'm doing is basically now using
    useSWR
    in a context provider at root
  • w

    whaley

    04/16/2022, 10:02 PM
    is there a more complete guide to using gql in supabase somewhere? i'm a bit lost tbh
  • b

    benten

    04/17/2022, 1:49 AM
    Is it possible to disable magic link?
  • l

    logemann

    04/17/2022, 12:48 PM
    I started off doing all my db changes in the cloud and now want to develop local. Is there an easy way to sync the remote db to my local one with supabase CLI ? Just found how to do it the other way around...
  • l

    logemann

    04/17/2022, 1:15 PM
    seems i need to backup and restore manually. Odd enough the local variant of supabase doesnt have a schema supabase_functions... so the restore had some problems.
  • i

    itsnotyalc

    04/17/2022, 1:24 PM
    kinda random but does anyone know of a service that allows users to chat in-app (web/mobile) but also receive messages & respond to messages via SMS?
1...214215216...392Latest