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

    Denzo

    01/24/2022, 2:47 PM
    is there an easy way to quickly generate a jwt for a user from the admin panel? i haven't working on auth in the front-end yet, just trying to authenticate supabase jwt's in my backend for now figured it out; just send yourself a magic link and fetch the token from the url ๐Ÿ™‚
  • v

    VWL Tobias Hassebrock

    01/24/2022, 4:24 PM
    Does supabase or a blog provide a pricing example or would it be possible to recreate the firestore pricing example?(https://firebase.google.com/docs/firestore/billing-example) So that non database experts have an easier time to compare prices? Or could someone show me a rough way how to calculate it?
  • s

    Sealion

    01/24/2022, 10:23 PM
    What does "Could not embed because more than one relationship was found for 'blog_post' and 'users'" even mean? i have a FK in "blog_post", where author is linked to users id
    j
    s
    • 3
    • 28
  • s

    Sealion

    01/24/2022, 10:23 PM
    Trying to do this query, let { data, error } = await supabase.from('blog_post').select('id, title, users(id)');
  • t

    tasty

    01/25/2022, 1:00 AM
    is there a desktop client to view my stuff?
  • t

    tasty

    01/25/2022, 1:00 AM
    the web dashboard sessions expire so frequently it makes me want to quit supabase entirely
    s
    j
    • 3
    • 3
  • t

    tasty

    01/25/2022, 1:00 AM
    its incredibly frustrating
  • s

    Scott P

    01/25/2022, 2:31 AM
    Session duration - Desktop client
  • j

    jason-lynx

    01/25/2022, 3:06 AM
    Could not embed because more than one relationship was found for blog_post and users
  • m

    mendozer

    01/25/2022, 3:18 AM
    https://github.com/supabase/supabase/tree/master/examples/nextjs-slack-clone
    s
    • 2
    • 1
  • m

    mendozer

    01/25/2022, 3:18 AM
    Rbac
  • c

    carl-ce

    01/25/2022, 7:54 AM
    Hey, did you manage to resolve this? I'm having the exact same issue.
  • k

    kavla

    01/25/2022, 8:00 AM
    I did, got upgraded to the latest real-time release via an email to support and it worked like a charm
  • c

    carl-ce

    01/25/2022, 8:01 AM
    thanks, I'll fire off an email now. Any idea what the underlying reason was?
  • k

    kavla

    01/25/2022, 8:04 AM
    Not sure. I definitely had it narrowed down to that. I suspect something in my RLS policy. I do join in a permissions lookup table which also has RLS set so perhaps that was more than the initial real-time release expected
  • k

    kavla

    01/25/2022, 8:05 AM
    But I did see it even with the policy set to โ€œtrueโ€
  • c

    carl-ce

    01/25/2022, 8:06 AM
    Yeah this is what I'm seeing currently: 1. Create a new table 2. Create a subscription to new table 3. See all events come through 4. Enable RLS, set policy to
    true
    5. No more events
  • k

    kavla

    01/25/2022, 8:08 AM
    Yep same behavior
  • m

    matheusbn

    01/25/2022, 1:09 PM
    Hi everyone! I'm building a project where I have an app and a store dashboard to manage each store listed on the app. I would like to have distinct auth for each one, can I do this in supabase with a single project?
  • d

    djang0

    01/25/2022, 1:09 PM
    Hey everyone, i've installed supabase in self-host I'm trying to connect by direct connection to the postgre db I but can't, do u have any idea why? thanks ๐Ÿ˜„
  • m

    matheusbn

    01/25/2022, 1:58 PM
    does it show any errors?
  • d

    djang0

    01/25/2022, 2:13 PM
    No, but I didn't install it with the cli but with another tool that integrates traefik and supabase on my instance, I think the problem doesn't come from supabase directly because my local version works well
  • d

    djang0

    01/25/2022, 2:15 PM
    I wasn't able to create any query with studio too x) so I'll reinstal everything properly
  • a

    andrewscofield

    01/25/2022, 2:32 PM
    Hi ๐Ÿ‘‹, I'm working on a setup to use the phone auth feature through twilio. I got it all working great, but I'm trying to figure out how tell if somebody trying to sign in actually doesn't have an account. Like I'm not getting an error message back saying that there is not user with that phone. This would be helpful to provide the user with helpful feedback or redirect them to the signup page.
    • 1
    • 1
  • d

    drenther

    01/25/2022, 3:01 PM
    Hey all, I am trying to create a policy to be able to access object from storage based on members of a project. But the policy seems to be not working, I tried to wrap my head around why it won't work but unable to think of a reason. Am I missing anything obvious here - The raw policy code looks like this -
    Copy code
    create policy "Allow project members access to snapshots"
    on storage.objects for select
    using (
      exists (
        select 1
        from project_members
        where project_members.project_id::text = bucket_id and project_members.user_id = auth.uid()
      )
    );
  • m

    Markido

    01/25/2022, 3:04 PM
    are there any ressources on how to work with foreing key restraints on the UI?
  • m

    Markido

    01/25/2022, 3:06 PM
    To enable cascading deletes for example
  • b

    blade

    01/25/2022, 9:06 PM
    yo. I'm using supabase with next js and want to run getStaticPaths to generate paths for some detail pages. the issue is that I've enabled RLS to check the identity of the user before returning any data from the table I want to use for the detail pages. since the user isn't logged in when getStaticPaths runs, I don't get any id's to generate the paths with. my solution was to create a public table with all of the id's I need for routing. this works, but I was wondering if any of you have a solution that doesn't require adding an additional table?
  • b

    blade

    01/25/2022, 10:00 PM
    actually it works better for me to use query params in this scenario.. ๐Ÿ˜…
  • b

    BigDoofus

    01/25/2022, 11:09 PM
    I'm having some issues with the function hooks. I'm trying to create a stripe account after a new row is added to the profile. Using postman I can create a stripe account with the api.. But when I change it to use the function hook, I get the following error: Database+error+saving+new+user. Anyone run into this issue before?
    g
    m
    • 3
    • 13
1...203204205...316Latest