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

    silentworks

    01/17/2022, 11:10 PM
    API rate limit exceeded
  • j

    joshcowan25

    01/17/2022, 11:44 PM
    My signup was working, and now, it's not anymore... I get error 422 const { user, session, error } = await supabase.auth.signUp({ email: email, password: pass, }, { data: { pseudo: email.split('@')[0], niveau: niveau, institution: institution } } )
    g
    • 2
    • 6
  • a

    aequitable

    01/17/2022, 11:58 PM
    I am attempting to use Supabase Auth to authenticate users in an embedded iframe environment which I don't control (Notion embed). It seems that the redirect-method of OAuth is not permitted in this environment. Is it possible to do a popup-method OAuth with GoTrueJS?
  • g

    garyaustin

    01/18/2022, 12:00 AM
    signUp 422 error
  • s

    sharpcdf

    01/18/2022, 12:07 AM
    is there any documentation on the curl api for external logins? in the auto generated api docs it doesnt show anything for the curl api, only javascript
  • s

    sharpcdf

    01/18/2022, 12:08 AM
    and i tried doing
    Copy code
    POST {endpoint}/auth/v1/token?grant_type=provider \ -H apikey \
    -d {"provider":"discord"}
  • s

    sharpcdf

    01/18/2022, 12:09 AM
    im really just taking a guess
  • s

    sharpcdf

    01/18/2022, 12:09 AM
    ¯\_(ツ)_/¯
  • s

    sharpcdf

    01/18/2022, 1:01 AM
    wait shit will i have to port gotrue so i can do it
  • a

    ak4zh

    01/18/2022, 7:40 AM
    I have created my tables from UI, how to generate the sql query used to generate the table so I can keep them saved in my git repo for when I want to recreated a similar project?
    k
    • 2
    • 8
  • k

    ktosiek

    01/18/2022, 8:24 AM
    migration tools
  • b

    Bogdwynny

    01/18/2022, 8:34 AM
    You can only use Oauth in libraries not in curl
  • v

    VuNguyen

    01/18/2022, 11:18 AM
    Is there option that ignore non-exist foreign rows? I don't want it interrupt the upsert
  • c

    charles.morrow

    01/18/2022, 11:19 AM
    Hi 👋 I'm generating types as recommended here: https://supabase.com/docs/reference/javascript/generating-types Unfortunately it doesn't register types for linked tables so I have to go and manually add them. e.g. users table is linked to notes table but the types do not reflect it even though the data returned from Supabase is
    Copy code
    user: { notes: [{...}]
    Is there a way to generate the types so that they reflect the actual response?
    m
    • 2
    • 6
  • v

    VuNguyen

    01/18/2022, 11:39 AM
    upsert Ignore if foreign row doesnt exist
  • s

    sharpcdf

    01/18/2022, 1:39 PM
    Alright thought so
  • h

    hunter06

    01/18/2022, 2:12 PM
    hello everyone, i am new to supabase and s3 & want to use the storage in nocodb where i need the s3 access key & secret. how do i get those? i appreciate your help
    g
    • 2
    • 2
  • d

    Dong

    01/18/2022, 3:25 PM
    Hi, I have question regarding to use supabase client in browser, since we expose the anon key in the browser, anyone can steal it and use it. I understand we can set RLS on each table, but how we can avoid them to create thousands accounts ? or I missed something
  • b

    Bogdwynny

    01/18/2022, 3:37 PM
    you only can stop endusers from creating thousands of accounts by enabling first email verification or disabling signup
  • d

    Dong

    01/18/2022, 3:46 PM
    thanks
  • t

    TremalJack

    01/18/2022, 3:51 PM
    Hi, someone got the same issue? https://github.com/supabase/supabase/issues/5044
  • g

    garyaustin

    01/18/2022, 4:06 PM
    Supabase and s3
  • u

    user

    01/18/2022, 4:44 PM
    Hey everyone 👋 I was wondering if there was a way to allow people to auth with discord, without collecting emails
  • u

    user

    01/18/2022, 4:44 PM
    Any ideas?
  • b

    Bogdwynny

    01/18/2022, 5:43 PM
    You need email to auth
  • u

    user

    01/18/2022, 6:10 PM
    Yeah I saw that. Thanks!
  • s

    Scott Prins

    01/18/2022, 6:16 PM
    Looking for some advice for how to structure some relations in my DB, I have user profiles in a public table tied to auth users on signup, and I want to allow users to create an organization after first sign in. My question is how should I structure the tables for easiest relational queries, should I just have some simple date on the org, and have an orgId on the profile with a role as well, or should I have a foreign key on the org with an adminId tied to a user?
  • k

    kresimirgalic

    01/18/2022, 6:51 PM
    Does anyone know how can i achieve to increase post count view, but also track if user already view it by something?
  • s

    Scott Prins

    01/18/2022, 6:53 PM
    youll need a views table with a userId to relate to user and check the count of that whole table
  • k

    kresimirgalic

    01/18/2022, 6:54 PM
    is it possible to check ip address, increase number count in posts table?
1...198199200...316Latest