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

    debabrata

    09/22/2022, 7:05 PM
    Ok that makes sense. Thanks! Will start updating pretty soon.
  • o

    organicX

    09/22/2022, 8:39 PM
    Is it true that Supabase lets you execute unlimited API read and writes?
  • g

    garyaustin

    09/22/2022, 8:52 PM
    The amount of API calls made is not counted, but egress data the calls generate is metered and how many calls you can run is bounded by how much the instance size (CPU/memory) can handle. You can run a lot more simple selects than complicated queries involving lots of tables and inserts and such. There are also limits on how fast you can generate auth calls. I personally would not call it unlimited, it is just not metered on an API call count basis like Firebase is.
  • o

    organicX

    09/22/2022, 9:04 PM
    What is
    egress data
    ? I've heard this term a lot but don't quite understand it yet
    g
    • 2
    • 3
  • k

    konga

    09/22/2022, 9:09 PM
    Where do I find the complete API docs for these endpoints?
  • k

    konga

    09/22/2022, 9:11 PM
    I'm writing my backend in rust and need to create a user, and send them a magic link that redirects to the dashboard. Can't get redirectTo to work.
  • k

    konga

    09/22/2022, 9:13 PM
    I want to see what is under the hood of these functions https://supabase.com/docs/reference/javascript/auth-api-generatelink
  • g

    garyaustin

    09/22/2022, 9:18 PM
    I don't know if the readme is fully up to date but this is the repository. https://github.com/supabase/gotrue#post-admingenerate_link
  • n

    Nin

    09/22/2022, 9:26 PM
    Is this me or is Supabase being.. weird?
    s
    g
    • 3
    • 3
  • o

    organicX

    09/22/2022, 10:31 PM
    Is there a way to check if the user is logged in or logged out with Supabase? Similar to how in Firebase you can use
    onAuthStateChanged
  • g

    garyaustin

    09/22/2022, 10:38 PM
    Please ask any follow up questions in help.... https://supabase.com/docs/reference/javascript/auth-onauthstatechange is a state handler. You can also check user and session. See the auth api for more.
  • o

    organicX

    09/22/2022, 11:46 PM
    Ok, thank you!
  • u

    ((()))

    09/23/2022, 4:28 AM
    what is that app_role called, is it a variable and how do I modify it or delete
  • u

    ((()))

    09/23/2022, 4:29 AM
    the way it was created is:
  • u

    ((()))

    09/23/2022, 4:30 AM
    how do I remove it or modify it or where do I even see it besides in dropdown for type when creating table
  • s

    silentworks

    09/23/2022, 1:29 PM
    Is this me or is Supabase being weird
  • t

    TZUZ

    09/23/2022, 5:33 PM
    Heyhey, I have a big noob question: why is supabase deleting every zeros at the beginning of a record? I wanna enter a phone number which starts with a zero and SB deletes it 😬
  • j

    jensen

    09/23/2022, 5:35 PM
    This should be asked in the #1006358244786196510 forum. The data type you choose in the database matters. If you are trying to store a phone number as an integer this can cause problems like the one you mentioned.
  • a

    Ahmad Swultra

    09/24/2022, 4:00 PM
    Is it possible to rely on Database Functions to send http requests to the api, For example, I have a table that includes several servers and these servers expire a month later , and I have a cron job that checks these servers daily and when the server expire the cron job will call database function to send (http post) to suspend the server.
  • a

    Ahmad Swultra

    09/24/2022, 4:00 PM
    So I'm worried about database functions if there is a delay in response time with the API? Will the http request fail?
  • a

    Ahmad Swultra

    09/24/2022, 4:01 PM
    What is the best suggestion?and thanks 🙂
  • a

    Amr

    09/24/2022, 5:30 PM
    Error response from daemon: No such image: public.ecr.aws/t3w2s2c9/postgres:14.1.0.66
    Anybody having this error when firing
    supabase start
    ?
  • g

    garyaustin

    09/24/2022, 5:41 PM
    chit-chat is not the place for asking help type questions, including "is it possible" and "anybody having". Please look to #1006358244786196510
  • t

    The Little Cousin

    09/25/2022, 11:18 AM
    Hello All ^^
  • u

    0xAsimetriq

    09/25/2022, 11:36 AM
    Having a bit of a hard time figuring out how to let users signin with OTP code, so wondering if someone can help, TL;DR 1. I changed magic link email template to use
    {{ .Token }}
    2. I tried both
    type: 'magiclink'
    and
    type: 'signup'
    3. I'm sending and verifying otp code like this
    Copy code
    ts
    const { data, error } = await supabaseClient.auth.signInWithOtp({ email })
    // {"data": {"session": null, "user": null}, "error": null}
    
    const { data, error } = await supabaseClient.auth.verifyOtp({ email, token, type: 'signup' })
    // {"data": {"session": null, "user": null}, "error": [AuthApiError: Token has expired or is invalid]}
    Now I am a bit confused to why I am getting that error. I double verified that token I am sending is correct and my supabase auth setting for "Mailer OTP Expiration" is set to
    60000
    I also had my password length set to
    12
    and dropped it back to
    6
    (as this is length of OTP), but looks like that's not the issue.
  • o

    Olyno

    09/25/2022, 2:13 PM
    Hi! How are you?
  • t

    The Little Cousin

    09/25/2022, 2:56 PM
    Hello I'm fine thanks
  • t

    The Little Cousin

    09/25/2022, 2:56 PM
    How about you?
  • t

    The Little Cousin

    09/25/2022, 2:57 PM
    I'm new to Supabase, giving it a try after firebase
  • e

    Edward Ho

    09/25/2022, 3:01 PM
    Hi all
1...263264265...392Latest