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

    vblinden

    08/31/2021, 2:32 PM
    Copy code
    (EXISTS ( SELECT books.user_id, books.id FROM books WHERE ((books.id = pages.book_id) AND (books.user_id = uid()))))
  • v

    vblinden

    08/31/2021, 2:33 PM
    Is what I currently have, but I need to go one level deeper
  • v

    vamonke

    08/31/2021, 2:47 PM
    you're right. looks like the feature request is still open https://github.com/supabase/gotrue/issues/142
  • r

    richard

    08/31/2021, 3:03 PM
    Anyone else running into issues with Supabase Auth? I'm trying to sign in and it keeps timing out for me
  • r

    richard

    08/31/2021, 3:04 PM
    Just started happening within the past few hours I think
  • m

    Mihai Andrei

    08/31/2021, 3:27 PM
    It worked fine to me
  • j

    Julián

    08/31/2021, 3:29 PM
    working fine here.
  • r

    richard

    08/31/2021, 3:31 PM
    Ok thanks. I mean an app using Supabase Auth by the way, not the Supabase Dashboard
  • m

    Mihai Andrei

    08/31/2021, 3:32 PM
    Hey guys! A Little question about project structure i think. I am making an invoice app that will generate some pdfs. Im using supabase on the frontend (React app) for authentication and data storage. I want to generate some pdfs using an express app, and from React Take the jwt and sent it to express to validate it there and generate the pdf. Is it ok to do it this way? Or should i move all the supabase logic to the express server, and make the calls to my api for data storage also
    s
    • 2
    • 1
  • s

    Scott P

    08/31/2021, 4:25 PM
    React, Express and Supabase
  • j

    JFran

    08/31/2021, 4:42 PM
    There's no way to get username and avatar_url from supabase auth via any provider (Goodle, Discord, Twitter...)?
  • n

    Neucoas

    08/31/2021, 6:05 PM
    Hello! We are currently on the process of migrating our app from Firebase to Supabase. I am on the process of migrating the users currently. So far what I have done is export our firebase users in a json format and create a script, that walks this json files and outputs basic
    INSERT INTO auth.users
    queries. Of course pwd are NULL and will have to be reset manually. Question is: Am I missing something? Because when I go to the users dashboard, and hit
    Send password recovery email
    , I get an error:
    Send password recovery failed: Database error finding user
    This is an example of the insert query that I am making
    Copy code
    sql
    INSERT INTO "auth"."users" ("instance_id", "id", "aud", "role", "email", "encrypted_password", "raw_app_meta_data", "raw_user_meta_data", "is_super_admin", "created_at", "updated_at") 
    VALUES ('00000000-0000-0000-0000-000000000000', 'ba917c4e-a67c-5e00-b737-0012829b9ff2', 'authenticated', 'authenticated', 'email@email.com', NULL, '{"provider": "email"}', 'null', FALSE, '2021-08-20T19:27:46.427Z', NOW());
  • n

    Neucoas

    08/31/2021, 6:50 PM
    Migrating auth users from Firebase to Supabase
  • l

    LuddensEkko

    08/31/2021, 10:25 PM
    hi m trying to upload a file to my bucket via js api, but i get this error: new row violates row-level security policy for table "objects" l added some policies to allow update/read to the bucket, but it doesn't seem to solve it. any clews?
  • a

    apop

    08/31/2021, 11:44 PM
    Question on Discord auth - if I'm building an app that I want to restrict to members of a specific Discord server, is it possible to do that as part of using Discord for auth?
  • j

    jon.m

    09/01/2021, 12:11 AM
    I'm getting this on email and password sing up
  • j

    jon.m

    09/01/2021, 12:11 AM
    "Database error saving new user"
  • j

    jon.m

    09/01/2021, 12:11 AM
    anyone encountered that before?
  • u

    user

    09/01/2021, 12:32 AM
    anyone have a good guide when it comes to deploying with nextjs ?
  • j

    jon.m

    09/01/2021, 12:33 AM
    vercel is very easy to deploy to with next
  • u

    user

    09/01/2021, 12:42 AM
    ok so no tricks just use vercel and configure the supabase on there? thanks!
  • j

    Julián

    09/01/2021, 12:44 AM
    @User the new UI way to create tables is not doing auto-increment by default with the uuid type for primary keys, it also does not appear in the selector after the table is created, after clicking for the second time on edit column, the option to automatically generate the uuid appears
  • j

    jon.m

    09/01/2021, 12:45 AM
    @User you will probably only need to add the config vars through the vercel UI for your supabase keys
  • j

    jon.m

    09/01/2021, 12:51 AM
    the issue was a trigger I had created on my new user table
  • j

    jon.m

    09/01/2021, 12:51 AM
    but I'm not sure why it started causing problems
  • j

    jon.m

    09/01/2021, 12:59 AM
    hm, I'm thinking this is a bug.
  • j

    jon.m

    09/01/2021, 1:09 AM
    Well, scratch that. You gotta make sure you don't have non null columns 😩
  • s

    silentworks

    09/01/2021, 1:17 AM
    Please report this via the feedback widget in the dashboard, It's quicker and easier to track than tagging the entire team here on Discord.
  • r

    RichCorbs

    09/01/2021, 2:33 AM
    I have disabled signup. I want to create records in the public.users table and then corresponding records in the auth.users table via trigger/function and I have this working BUT the auth.users records are not exactly the same as what gets created when signup is enabled. The encrypted password and confirmation token fields are not populated. When this new user tries to sign in it returns "user not found" or something like that. Any ideas on what I should be doing differently?
    j
    • 2
    • 8
  • k

    knight

    09/01/2021, 4:16 AM
    any one test the storage api for move file ? seems like the API doc is outdated
1...686970...316Latest