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

    quick_piper15

    12/09/2022, 4:38 PM
    I did a search and brief explanations
  • n

    Noah

    12/09/2022, 5:18 PM
    Really excited so far with supabase, makes it easy for me (front end dev) to Learn/use a backend. ☺️
  • s

    snakespear.eth

    12/09/2022, 6:51 PM
    Is anyone else having issues with the dashboard?
  • s

    snakespear.eth

    12/09/2022, 6:51 PM
    Getting lots of 500 errors
  • u

    uzelac

    12/10/2022, 6:22 PM
    Is there a way to control your own JWT for users? I'm having issues with autoRefresh not refreshing my token and its causing a:
    Copy code
    AuthApiError: invalid JWT: unable to parse or verify signature, token is expired by 2m43s
    in my supabase calls.
  • g

    garyaustin

    12/10/2022, 10:31 PM
    Please don't post in multiple threads.
  • u

    ${fence}

    12/10/2022, 10:31 PM
    Sorry! I'm just so stuck, I apologize
  • e

    EK

    12/11/2022, 3:27 AM
    I am losing my mind here.
  • e

    EK

    12/11/2022, 3:29 AM
    Copy code
    js
    const {
          data: { user: signUpUser, session: signUpSession },
          error: signUpError,
        } = await supabaseClient.auth.signUp({
          email: 's@ss.com',
          password: 'ssss',
        })
  • e

    EK

    12/11/2022, 3:30 AM
    the resposes Type is wrong.
  • e

    EK

    12/11/2022, 3:30 AM
    Copy code
    js
    export type AuthResponse =
      | {
          data: {
            user: User | null
            session: Session | null
          }
          error: null
        }
      | {
          data: {
            user: null
            session: null
          }
          error: AuthError
        }
  • e

    EK

    12/11/2022, 3:31 AM
    supabase returns
    Copy code
    js
     export type AuthResponse =
          | {
              user: User | null
              session: Session | null
    
              error: null
            }
          | {
              user: null
              session: null
    
              error: AuthError
            }
  • e

    EK

    12/11/2022, 3:31 AM
    what is going?
  • l

    Luv

    12/11/2022, 4:13 AM
    are you perhaps using v1?
  • e

    EK

    12/11/2022, 4:29 AM
    everything the newest
  • e

    EK

    12/11/2022, 4:32 AM
    Supabase backend returns {user:..., session:..., error:....} instead of nest inside of data.
  • j

    Jason Creviston

    12/11/2022, 11:58 AM
    This should be asked in #1006358244786196510. So what is the output if you remove the destructuring and console log
    data
    ?
  • j

    Jason Creviston

    12/11/2022, 12:12 PM
    I first started learning Supabase in late March, early April of this year. Gotta say, it's been fun. I Tweeted a screenshot of saving to storage, when I found out how easy it was.
  • g

    garyaustin

    12/11/2022, 2:33 PM
    This belongs in #1006358244786196510 . It is hard to follow multiple replies scattered about chit-chat and you are asking for some one to help you.
    Copy code
    const {data} = await supabase1.auth.signUp({
                email: 'aaaa',
                password:'aaaaaaaaa'
            })
            console.log('login', data)
    returns
    Copy code
    login   {
            "user": null,
            "session": null
            }
    So nested in data for 2.x.x.
  • e

    EK

    12/11/2022, 2:37 PM
    never mind then. I am just pointing out THE auth response I got from supabase this morning was NOT nested in data.
  • s

    Solias

    12/11/2022, 2:58 PM
    Hey guys, somewhat urgent! We are getting a 429, rate limit exceeded from Supabase when we try to send SMS for OTP Is this expected on the free plan with slightly spiked traffic?
  • s

    Solias

    12/11/2022, 3:18 PM
    Edit: seemed to have stopped happening after we disabled e-mail auth
  • g

    garyaustin

    12/11/2022, 3:23 PM
    Not sure about SMS but if you don't have your own SMTP provider you are limited (30 per hour) for emails.
  • l

    Luv

    12/11/2022, 5:39 PM
    as i said earlier, v1 auth response is not nested in data and that's what you might be using.
  • l

    Luv

    12/11/2022, 5:41 PM
    anyways, you should take this to #1006358244786196510
  • u

    ${fence}

    12/12/2022, 12:06 AM
    I'm wanting to gives users in my Discord server a role when they authenticate/login on my website. I have a discord bot, but I'm wondering how I can query it to give the users the role. Any suggestions?
  • u

    ${fence}

    12/12/2022, 12:08 AM
    I was thinking of either; -- 1. Having an rest api endpoint with my node.js discord bot, when it gets a POST request (with the user discord id), bot will attempt to give the provided id the role. 2. On database changes I will give the user the role (with realtime) - discord id will be in the table that realtime is watching.
  • e

    eric.uhd

    12/12/2022, 12:21 AM
    But Dart, from the ground up, has 2 mains use cases: - Run faster than JS in its own runtime - Transpile to JS, like TypeScript do: so you could transpile your code to JS, and voila, you have your Dart support... almost More detail: Supabase Edge Functions, is "just a overwrap" of the Deno Runtime, the new project of the original creator of Node.js. Deno, is 100% compatible with native JavaScript + the Deno namespace and URL imports of server side libraries. i.e.:
    Deno.env
    allows you to get environment variables So to have a 100% Dart support, try to create a layer of compatibility for Deno in Dart, if I'm not mistaken you would only have to handle the Deno namespace, URL imports, and maybe Deno files (deno.json, deno.lock) and Deno CLI. Create it on Open Source, I'm sure people would help you
  • e

    EK

    12/12/2022, 3:05 AM
    what is this none-sense? If I am using v1, how can the type suggest a v2 AuthResponse? Do you ever think about this before keep bashing and bashing me for not using the HELP? I GOT AROUND it by making a custom type so I was not seeking help. GOT IT?
  • e

    EK

    12/12/2022, 3:06 AM
    I did not do anything new and by the night, the AuthResponse was back to be nested inside of data.
1...312313314...392Latest