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

    swyx

    12/12/2021, 10:42 PM
    fyi most of these links in the docs are 404ing. either search needs to be updated or redirects set
  • v

    Veld

    12/12/2021, 11:30 PM
    Hey I have a question about auth, is it possible to allow a user to have multiple login methods?
  • v

    Veld

    12/12/2021, 11:30 PM
    e.g. if I want to have an account with my email, but then later decide to link it to google, is this a possibility?
  • v

    Victor Peralta

    12/13/2021, 12:11 AM
    Accounts will be linked automatically if they have the same email
  • d

    DevilsBlade0

    12/13/2021, 9:09 AM
    Hello
  • d

    DevilsBlade0

    12/13/2021, 9:15 AM
    any recommendations for a place to learn how to best model the data
    s
    • 2
    • 3
  • s

    silentworks

    12/13/2021, 10:08 AM
    Modelling data
  • a

    almkamberi

    12/13/2021, 3:20 PM
    Hi there! I have a question for anyone who is exploring Supabase. As we know there is an option in Supabase where you can stop the user from signing in if the email is not verified. In the case in user Auth table the sign in last is waiting. But if you turn off that feature, it lets you sign in right away. Going to my question is how can I keep this feature off but still get the info that the email is not verified and add a feature to check if the from created date is more than 24 hours and the email is not verified it would be deleted as a user.
  • l

    letourpowerscombine

    12/13/2021, 4:45 PM
    Is it possible to dynamically set the Magic Link URL, so that an application can redirect newly signed up users to different locations in the app? For example: Ana is viewing a page in an application. Ana sends an invite to Bob to view the same page, by entering Bob's email address. This triggers a magic link sent to Bob. Can we make it so the magic link opens to the same page that Ana is looking at — thus, when Bob clicks it, he ends up on that same page as well? To be clear, would be dynamic — so if Ana is looking at a different page later, and wants to invite Chris, then the magic link invite to Chris will open to that new page Ana is looking at (not a pre-defined link to a static page)
  • a

    Adi

    12/13/2021, 5:15 PM
    I want to use upsert https://supabase.com/docs/reference/javascript/upsert but table I have used id which has default value uuidv4 so while inserting data I am not adding id column but now in upsert it is mentioned id i.e primary key should be included in data payload to make update work properly any idea how it can be done in that case if I am generating uuidv4 default value from supabase dashboard
  • s

    Scott P

    12/13/2021, 5:17 PM
    Don't pass a value for the column which has the UUID as a default value. It'll generate it if it's not present.
  • a

    Adi

    12/13/2021, 5:21 PM
    yes thats what I am doing but now I want to do upsert and in docs it mentioned id i.e primary key should be included in data payload. I have table with columns: id(primary key), user_id, access_token now I only want to insert when for that user_id access_token is not present if that row is already present then instead of adding new row I want to only update the access token field for that user_id how can do that using upsert? Note: id is primary key auto generated uuidv4
    s
    • 2
    • 4
  • u

    user

    12/13/2021, 5:49 PM
    Why's this not working?
  • d

    Deleted User

    12/13/2021, 7:25 PM
    Hello guys, I’ve started migrating my project from Firestore to supabase today. So far so good. Love it
  • j

    JustTheSyme

    12/13/2021, 8:27 PM
    I have a supabase instance, but despite using pgbounce, I'm getting this error. Can someone help me troubleshoot why this is?
  • d

    DarrenJr

    12/13/2021, 9:42 PM
    Wanted to check but is there a way to control which url the magic link goes to after logging in?
  • t

    tocteman

    12/13/2021, 10:15 PM
    Hello
  • t

    tocteman

    12/13/2021, 10:16 PM
    Our instance is down with a 504 error, cannot connect through psql nor the frontend
  • t

    tocteman

    12/13/2021, 10:54 PM
    we're getting it everywhere, appears our instance is dead
  • l

    Lucho Suárez

    12/13/2021, 11:52 PM
    yes, you can pass
    redirectTo
    param, but you have to have that url in your config. Just search here for redirectTo and you'll find a few responses. see https://supabase.com/docs/reference/javascript/auth-signup#parameters
  • a

    Agb

    12/14/2021, 12:28 AM
    Hey y'all, I'm having the following error message, but I have no clue what it might be actually
    Copy code
    message: "column \"0\" of relation \"newsletter\" does not exist"
    [[Prototype]]: Object
    s
    • 2
    • 1
  • d

    DarrenJr

    12/14/2021, 12:41 AM
    @Lucho Suárez thanks man
  • t

    theboss

    12/14/2021, 8:31 AM
    Hello, Although realtime listener worked fine about 1 week ago, when I test again today it does not work, I am working with flutter. What could be the reason for this? Replication settings on
    s
    • 2
    • 3
  • t

    theboss

    12/14/2021, 8:34 AM
    help me with this
  • d

    Deleted User

    12/14/2021, 8:59 AM
    Are you on a paid plan?
  • d

    DarrenJr

    12/14/2021, 11:54 AM
    For some reason i keep getting a 403 (forbidden error) when attempting to insert to supabase table. Anyone know why?
  • s

    silentworks

    12/14/2021, 2:36 PM
    Error message about 0 index
  • s

    silentworks

    12/14/2021, 2:37 PM
    Realtime no longer working
  • a

    Adi

    12/14/2021, 4:27 PM
    Is there any better way to re-write this code:
    Copy code
    const { data, error } = await supabase.from('tableA').select('token').eq('user_id', userId);
    const { data, error } = await supabase.from('tableB').select('token').eq('user_id', userId);
    const { data, error } = await supabase.from('tableC').select('token').eq('user_id', userId);
    I am querying multiple tables based and want to get data only when user_id matches. Note: user_id is unique field in each table. [#GETTING ADVICE]
  • u

    user

    12/14/2021, 4:46 PM
    not sure how to do this with Supabase, but that's why I use Prisma which is more powerful
1...160161162...392Latest