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

    kyds3k

    02/02/2023, 2:01 AM
    oh nvm. it was letting me in though I was putting the wrong password, by verifying on my phone.
  • s

    silentworks

    02/02/2023, 9:29 AM
    Nope this is down to the developer, there is no concept of avatars in the default supabase setup.
  • s

    silentworks

    02/02/2023, 9:36 AM
    Things are about to get spicey over at Twitterville https://twitter.com/TwitterDev/status/1621026986784337922
  • e

    eben

    02/02/2023, 3:23 PM
    is there a way to check all user data in my project (on the supabase website)?
  • e

    eben

    02/02/2023, 3:24 PM
    it would be nice if I could access the extra options data that my users have so that I can actually analyze it
  • i

    Imposer

    02/02/2023, 4:42 PM
    i had asked a question on #1006358244786196510 but havent got any reply and has been over 4-5 days
  • i

    Imposer

    02/02/2023, 4:42 PM
    where else can i seek help?
  • o

    Olyno

    02/02/2023, 4:51 PM
    There is not a lot of people who knows Flutter on the Discord. From what i saw, you should try creating a new issue on the flutter sdk github
  • g

    garyaustin

    02/02/2023, 4:51 PM
    I see you have lots of posts and have had many replies. I don't know which one you refer to, but in general if you don't get a reply it probably means no user has an idea for you or it is unclear. Between us the mods likely will look at every post in help but if we don't know the answer tend not want to jump in as once a discussion starts odds go down of another user answering. This is mainly a user helping user forum. Depending on the type of question there is github, there is adding more info to your question (which also bumps it up), there is stackoverflow. If it is about coding in general there are forums for Postgres, react etc.
  • i

    Imposer

    02/02/2023, 4:52 PM
    well thanks, no problem
  • i

    Imposer

    02/02/2023, 4:53 PM
    it was actually regarding the
    go-true
    for auth
  • i

    Imposer

    02/02/2023, 4:53 PM
    so should i create an issue in their github?
  • o

    Olyno

    02/02/2023, 4:53 PM
    You will have more chances to get an answer there, yeah
  • i

    Imposer

    02/02/2023, 4:55 PM
    thank u so much
  • s

    silentworks

    02/02/2023, 5:04 PM
    Not sure what this mean, can you rephrase that please?
  • e

    eben

    02/02/2023, 5:22 PM
    when a user registers, I register the following data:
    Copy code
    json
    email: formData.email,
    password: formData.password,
    options: {
        data: {
             first_name: formData.firstName,
             last_name: formData.lastName,
             company_name: formData.companyName,
        }
    }
  • e

    eben

    02/02/2023, 5:24 PM
    Is there any way I can see the "options data" (Does this have an actual name) of the users?
  • o

    Olyno

    02/02/2023, 5:29 PM
    Aren't you using the supabase sdk for that?
  • e

    eben

    02/02/2023, 5:30 PM
    you mean this?
    Copy code
    js
    const { data, error } = await supabase.auth.signUp(
                        {
                            email: formData.email,
                            password: formData.password,
                            options: {
                                data: {
                                    first_name: formData.firstName,
                                    last_name: formData.lastName,
                                    company_name: formData.companyName,
                                }
                            }
                        }
                    )
  • o

    Olyno

    02/02/2023, 5:31 PM
    Oh wait, this is new
  • o

    Olyno

    02/02/2023, 5:32 PM
    So, you can get it directly from the session: ``supabase.auth.getSession()``
  • e

    eben

    02/02/2023, 5:32 PM
    yes but, this will in truth only be visible to the users
  • e

    eben

    02/02/2023, 5:32 PM
    when they log in and gain their session token etc
  • e

    eben

    02/02/2023, 5:32 PM
    I would like to be able to just have a list of all this data, not their password ofcourse
  • g

    garyaustin

    02/02/2023, 5:32 PM
    It will be in the user jwt as user_metadata and in the auth.users table under user_raw_meta_data which can be copied to your own table with an insert trigger on auth.users to your own table.
  • e

    eben

    02/02/2023, 5:32 PM
    but just the options data, so I can further analyze this and gain insights on my userbase
  • e

    eben

    02/02/2023, 5:33 PM
    Let me see
  • e

    eben

    02/02/2023, 5:34 PM
    Ah yes, got it !
  • o

    Olyno

    02/02/2023, 5:34 PM
    Here is an example of trigger to make it public: https://supabase.com/docs/guides/auth/managing-user-data#using-triggers
  • s

    silentworks

    02/02/2023, 5:34 PM
    @eben firstly you should move this data into a table like a
    profiles
    table as presented in a guide on the website. Also quickly before we keep on flooding #839993398554656831, you should post this in #1006358244786196510 with the full details of what you are trying to accomplish.
1...344345346...392Latest