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

    lanbau

    05/22/2022, 2:49 PM
    hi friends, i have tried to reset my password and got the password recovery email..
    Copy code
    await supabase.auth.api.resetPasswordForEmail(email, {
              redirectTo: `${window.location.origin}/reset-password`,
            });
    Copy code
    https://xxx.supabase.co/auth/v1/verify?token=fvtgjvsxjajktseuqshp&type=recovery&redirect_to=http://localhost:3000/reset-password
    when i checked the link, it has the token but when it redirects to my page, the url only has a single hash.. without the token, i can't update my user's password.. This is on nextjs any idea what could be the issue?
    n
    j
    • 3
    • 9
  • b

    Bicijay

    05/22/2022, 3:33 PM
    Hey guys, do we have a good tutorial for supabase Auth using Expo and google?
    n
    • 2
    • 1
  • k

    kevindmoore

    05/22/2022, 4:42 PM
    Anyone have any experience with Flutter streams? When I update an entry in the database, the stream isn't updated
    n
    g
    • 3
    • 20
  • a

    Ape R Us

    05/22/2022, 5:22 PM
    hey can someone explain exactly how to add real time subscription to this
    Copy code
    const update = async () => {
            try {
                const { error } = await supabase.from('event_ticket').insert([{ name, event_id }]);
    
                if (error) throw error;
            } catch (e) {
                console.log(e.message);
            } finally {
                console.log('success');
                $showModel = false;
                document.body.classList.remove('overflow-y-hidden');
            }
        };
    n
    g
    • 3
    • 5
  • j

    Jingly

    05/22/2022, 9:33 PM
    Hello. I'm trying to implement a multi-tenant approach through schemas. I know from the docs that the
    Copy code
    supabaseClient = createClient()
    will allow access to one and only one schema. Right now a non-authenticated user will access the public schema. Once authenticated, I want to change the accessed schema. Currently, I just override the supabaseClient with
    Copy code
    createClient({schema: 'new-schema')
    . Is there a better way to go about this approach? Also, will overriding the variable allow the connection to the public schema to remain open?
    n
    g
    • 3
    • 8
  • m

    martinemmert

    05/22/2022, 10:05 PM
    Hey 👋 I am trying to test a local development setup on my mobile phone. The SPA I am developing is available on my wifi network with the IP of my MacBook. The issue I have is that the local Supabase instance is not reachable on my mobile device. Even though I can open Supabase Studio on my phone, it fails to connect to the project since it always wants to connect to
    localhost
    . I searched the web for nearly an hour, but I did not have any luck since the search terms are so common. Is there a way to alter the hostname?
    n
    • 2
    • 3
  • n

    Needle

    05/22/2022, 10:59 PM
    Hello @zenny.eth! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • d

    DanMossa

    05/23/2022, 1:49 AM
    Hello all! If I want to get updates via Realtime, what's the difference between stream vs on.subscribe?
    n
    g
    • 3
    • 5
  • r

    rogerthat52

    05/23/2022, 3:09 AM
    been getting into supabase, and i have a few questions i guess about best practices 1. so it seems like a ton of API that i would normally have to write has been abstracted away into communicating with supabase directly? all the examples i have found seem to - but it is not entirely elimated, even with postg functions and triggers, right? like just looking at it, i'll need backend stuff for sending password reset requests for example. 2. if something is in public and doesn't have RLS, than anyone can insert / update anything. anything not in public requires a backend API to access? 3. say my api is a list of countries, and i want it to be accessible by anyone whether they're logged in or not - what is the best way to do that? i know there is an anonymous auth user with the api key - RLS with custom policy for select? API function? 4. should i be hiding certain columns? i'm using UUID instead of int ID for most things because ik predictable IDs is a bad practice, but if i don't want users to be able to see or edit everything about themselves - do i just put that stuff into another table? custom functions
    n
    • 2
    • 1
  • l

    lanbau

    05/23/2022, 3:19 AM
    hi friends, just curious is it possible to disable supabase client on the frontend and defer all actions to the server..
    n
    s
    • 3
    • 5
  • n

    Needle

    05/23/2022, 4:19 AM
    Hello @ixsans! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • v

    Volkan

    05/23/2022, 4:52 AM
    for https://supabase.com/docs/reference/javascript/auth-update any way to stop the data being sent back?
    n
    s
    • 3
    • 3
  • y

    Yeezy

    05/23/2022, 12:23 PM
    Can someone please help me in something quite simple that i just don't know how to phrase its syntax?
    n
    s
    • 3
    • 2
  • k

    kevindmoore

    05/23/2022, 1:56 PM
    I'm having problems with the database and flutter. Whenever I delete or add an entry, I don't get new data. I can see the data being added to the table editor. If I do a full reload I get the data
    n
    m
    g
    • 4
    • 32
  • a

    asleepingpanda

    05/23/2022, 2:22 PM
    hey all! Is there any way to customize the "Magic Link" email that gets sent??
    n
    g
    • 3
    • 3
  • t

    timeforpoptarts

    05/23/2022, 2:32 PM
    Anyone running into regressions with the 1.4.0 upgrade for supabase-auth-helpers? I still struggling to figure out what I am doing wrong there.
    n
    s
    • 3
    • 8
  • i

    ian_

    05/23/2022, 11:01 PM
    when I query a column with a bigint in supabasejs, the second-to-last number gets replaced with a 0. anyone know why?
    n
    g
    • 3
    • 3
  • n

    nahtnam

    05/23/2022, 11:31 PM
    Hello, I'm trying to set up supabase locally with the CLI. Whenever I link my supabase app, it actually ends up provisioning a new app with the same name but different id even though I'm using the
    --project-ref
    flag. Could someone help take a look/debug?
    n
    • 2
    • 3
  • l

    lanbau

    05/24/2022, 1:19 AM
    hi team i have a form field that is a multi select. what is the recommended way to store this data? i would like to get it back in this format as well to reuse the same component in editing..
    n
    s
    • 3
    • 3
  • j

    joshcowan25

    05/24/2022, 1:19 AM
    How to access user_metadata in RLS policies?
    n
    g
    +2
    • 5
    • 9
  • d

    directive

    05/24/2022, 2:09 AM
    I'm having an issue where I can't log in and I think my account might be in a bad state due to an sql query that is hanging. Is there anyone from the team or support that might be able to help me?
    n
    g
    +2
    • 5
    • 9
  • j

    JayStavis

    05/24/2022, 2:19 AM
    I also can't login to app.supabase.io right now URL is:
    https://app.supabase.io/?error=server_error&error_description=failed+to+connect+to+%60host%3Dprod...
    n
    g
    +3
    • 6
    • 8
  • l

    lanbau

    05/24/2022, 2:45 AM
    hi team i'm having issues with inserting data into a table.. i'm getting 201 without errors on the frontend. i've also tried to add manual entries via the UI without any success (attached a video)
    n
    g
    • 3
    • 18
  • v

    vinciarts

    05/24/2022, 5:03 AM
    Can supabse help me to manage users' devices/sessions ?
    n
    a
    • 3
    • 5
  • j

    jaitaiwan

    05/24/2022, 7:04 AM
    Hey folks, I've tried connecting with a SQL GUI client to my postgres client and after a couple "connection failed" attempts with no reason why, I'm now getting E_CONN_TIMEOUT. I assume this means that I've hit some sort of fail2ban mechanism?
    n
    s
    • 3
    • 11
  • n

    Needle

    05/24/2022, 10:45 AM
    Hello @abraxas! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • h

    Hallidayo

    05/24/2022, 12:05 PM
    Hi Guys, I'm trying to run the Studio locally to make a change to the Supabase repository but when I run the Studio I just get the default project and I can not access any of the tables, api etc options on the left hand side menu as the site just timesout. Can I connect my supabase project locally?
    n
    s
    f
    • 4
    • 9
  • d

    Daniel_pttb

    05/24/2022, 2:48 PM
    Hey guys! Quick question if anyone knows – does the PostgREST API have an in-built queueing system for events? Let's say I hit an update endpoint 5000 times in 1 second for 5000 record changes – will Supabase PostgREST be able to queue and handle that?
    n
    s
    • 3
    • 3
  • s

    schwarzsky

    05/24/2022, 3:40 PM
    Hey! Used
    User Management Starter
    but in
    public.profiles
    table: supabase does not save the
    user.user_metadata.username
    , it saves e-mail for username. Any idea how to solve it?
    n
    g
    • 3
    • 8
  • m

    madsbuch

    05/24/2022, 5:03 PM
    Hi there For quite a while have not been able to push migrations to remote databases. It gives following error:
    Copy code
    ~/a/web ❯❯❯ supabase db push
    Applying unapplied migrations...
    Error: ERROR: permission denied for schema graphql_public (SQLSTATE 42501)
    Migrations work locally, but not remove. Neither on our existing project or completely newly created projects
    n
    • 2
    • 7
1...274275276...316Latest