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

    B0N3SY

    02/24/2022, 11:55 PM
    I had the callback address wrong on github settings
  • j

    joshcowan25

    02/25/2022, 4:42 AM
    When saving Markdown to Supabase, you just use a Text field?
  • p

    PixelPage ᶠᵒˡᶤᶻᶻᵃ

    02/25/2022, 5:30 AM
    It would be weird if you write a message and the bot says „Please create an account“. That would definitly cost us some users.
  • s

    sylar815

    02/25/2022, 6:42 AM
    https://www.youtube.com/playlist?list=PLcjHRSem_cvN8d-nhV9Pc3FU_E3m-tsMF see if this helps
  • u

    user

    02/25/2022, 7:49 AM
    I think so yes
  • p

    pablopang

    02/25/2022, 9:23 AM
    Hey guys do you know if there's a way to do an 'anon' select in some specific cases even if the user is logged in?
  • a

    AmusedGrape

    02/25/2022, 12:15 PM
    if a user doesn’t exist when the oauth flow is completed it is automatically created so you just can say “please sign in”
  • p

    PixelPage ᶠᵒˡᶤᶻᶻᵃ

    02/25/2022, 12:22 PM
    I also want to store data if the user has not created an account using the discord-id
  • p

    PH4NTOMiki

    02/25/2022, 12:24 PM
    is it possible to create user account from Postgres functions? thanks
  • f

    FluffySmiles

    02/25/2022, 12:45 PM
    I had the same problem. I figure that the docs were written for svelte, not kit (assumption). I removed everything I had put in from those docs regarding the config and replace etc. reverting to a vanilla kit config and implemented using dotenv. All fine now. Hope this helps.
  • n

    nayanka

    02/25/2022, 1:22 PM
    Hi ! There is a supabase nuxt3 module on the way : https://github.com/larbish/supabase-module
  • p

    Pollie

    02/25/2022, 1:48 PM
    Hey everyone, I have learned just before that you can't create a subscription for a table at the same time. Just for context, next to auth.users I created public.users for public user information. In my application I have a dashboard with a navbar. In the navbar itself I show the logged in user. This fetches info realtime from the users table. However, one of the pages on the dashboard shows a list of all users. Preferably I also show those realtime. Doing 2 realtime subscriptions on the users table brakes the first created subscription as apparently only 1 is allowed. How do / would you tackle this issue? Is it possible to create a global subscription and kindoff hook to that on the places you need it?
  • r

    ricardodepaula

    02/25/2022, 5:29 PM
    How do I return the values in a row based on the field?
    Copy code
    https://myurl.supabase.co/rest/v1/posts?select=slug
    This line above returns all my "slug" fields in the table. I want to filter the rows by slug, not get the all slugs. I'm not finding it in the docs.
    g
    • 2
    • 2
  • p

    pablopang

    02/25/2022, 7:13 PM
    1. You still have a supabaseClient.js that reference _api.env.SVELTE_SUOABASEKEY (or something similar)...you don't need that anymore since you are instantiating your supabase client in lib/db 2. In lib/db you are doing the thing right using the vite env variables but you don't have a .env file in your root folder (at least not in GitHub but than it's a .env file so it should not be on GitHub) if you have a .env with the correct variables setupped locally than I think deleting the supabaseClient.js file should work (you than need to import the client from $lib/db
  • w

    Wlad Paiva

    02/25/2022, 11:11 PM
    Hi peeps, I've just started using the supabase CLI and notice that it's not possible to config it to run with phone authentication and configure things like messagebird. I had a look around and saw that the docker actually allows a env var for that... Is this something that the documentaion is missing or the CLI isn't ready for that already? Had a look around on the code but didn't understand anything
  • w

    Wlad Paiva

    02/25/2022, 11:21 PM
    https://supabase.com/docs/gotrue/server/about#post-invite
  • a

    akshg05

    02/26/2022, 6:45 AM
    Hi everyone I am trying doing something which I am not sure how well works with SQL and so I reach out to you all amazing folks here. So I have a table products which has a column availability with a constraint check of max 20. Ie. The availability column can have max value of 20 only. I increment the column periodically with +2/ hour through a scheduler. If at any point a row has availability of 19 and it gets a +2 ..I want it take a +1 and discard the rest and become 20. How can I go about achieving exactly this?
  • d

    DanMossa

    02/26/2022, 7:03 AM
    Hello all! I just created a supabase account and it auto used my github email. I then went and changed my github's primary email to be something else but I'm unable to change the email in supabase. How can I change my supabase email?
  • t

    TremalJack

    02/26/2022, 9:04 AM
    Hello guys today I have a question for you, somebody of you use a PG Model Driver to handle DB schemas and migrations of PG? if yes which one you use?
  • k

    Kazuto

    02/26/2022, 9:52 AM
    Hey guys. Is there a way to aggregate relational data within the API request?
  • t

    TremalJack

    02/26/2022, 10:09 AM
    @User https://supabase.com/docs/reference/javascript/select
  • t

    TremalJack

    02/26/2022, 10:09 AM
    read from Query foreign tables
  • k

    Kazuto

    02/26/2022, 10:29 AM
    I know, but I'm looking for aggregating data e.g.: A category has many expenses -> each expense has an amount -> querying categories with
    total_amount_expenses
    s
    • 2
    • 2
  • h

    hotbelgo

    02/26/2022, 10:51 AM
    I am trying to do signin with google. That seems to lead to the page reloading with
    #token=....
    in the url. When the page reloads my init code starts again, and looks for
    supabase.auth.user()
    but this seems to be updated only later. I've added a setTimeout of 1000ms which seems to enable the superbase code to handle the url in the background first, but that is super hacky. Anyone do things better?
  • e

    Eduardo Lopez

    02/26/2022, 3:29 PM
    API downtime My API was not answering, it solved itself just by opening the supabase dashboard and going into the db docs page. Anyone knows what could have been and how to prevent it?
  • s

    sylar815

    02/26/2022, 4:53 PM
    maybe the api call was not proper
  • b

    B0N3SY

    02/26/2022, 7:13 PM
    so i setup a nextjs project that was using an auth module to work with supabase. how would i connect the database to supabase
  • b

    B0N3SY

    02/26/2022, 8:56 PM
    my authentication failed, what do i do
  • g

    garyaustin

    02/26/2022, 9:02 PM
    I doubt I can help, but at same time you really need to provide more info if you want someone to. Things are quiet around here on weekends, so you would just get someone eventually to say you need to provide more info... Unless to a nextjs coder it is clear what you are asking.
  • b

    B0N3SY

    02/26/2022, 9:28 PM
    i ended up realizing my error was having the [] still around the password
1...230231232...316Latest