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

    Mihai Andrei

    11/08/2021, 2:07 PM
    Hello. Did Anyone managed to use supabase auth in express/other server language?
    • 1
    • 4
  • e

    eunjae

    11/08/2021, 2:25 PM
    Thanks 🙂 It should work for me. It's too bad that they already have the system, but not exposing. (like the query editor)
  • y

    YelloJello

    11/08/2021, 4:40 PM
    If you enable RLS but don't write any policies, is it the same as saying that the operations for which the policies haven't been written aren't allowed? ex: you enabled RLS, but don't write a policy that captures inserts, is it the same as setting the policy to USING (false)?
  • m

    Mihai Andrei

    11/08/2021, 5:37 PM
    Yes. If you enable policies, and you dont write any, you cannot perform any action on the tables ( select, insert etc)
  • k

    kresimirgalic

    11/08/2021, 7:43 PM
    Hey guys here is the case where i need help: I have few modules in the app (feed, jobs, events, blogging, education), and i want to automatically create feed card after creating job or event or anything else from the modules. Is there some simple way to do it? Basically i want to display data also on feed with comments, likes etc. but i need to share created data from jobs, events etc.
  • d

    david-thyresson

    11/08/2021, 9:36 PM
    Pooling and Prisma
  • i

    Ismaeel

    11/08/2021, 9:51 PM
    Good evening, I'm building an application with a basic RBAC part and would like to give a user a standard role after signing up which is then also signed in the JWT token under the user_metadata. One idea would be to make an extra call to update the data, but I was wondering if it is possible to automatically set it after signing up.
  • s

    Scott P

    11/08/2021, 10:39 PM
    https://supabase.io/docs/reference/javascript/auth-signup#sign-up-with-additional-user-meta-data You essentially pass a
    data
    property (object), along with the data to set, to
    signUp()
    , and it'll add it to the metadata of the users row in the
    auth
    schema.
  • i

    Ismaeel

    11/08/2021, 10:40 PM
    Damn, I didn't see that... Thank you very much!
  • b

    BBB

    11/09/2021, 9:26 AM
    There is an option to store session in supabase?
  • b

    BBB

    11/09/2021, 9:27 AM
    And put the token in cookie and not in local storage
  • r

    rc9999999

    11/09/2021, 10:51 AM
    Followed the docs to a T and I'm receiving this error Error: supabaseUrl is required.
  • r

    rc9999999

    11/09/2021, 10:52 AM
    Copy code
    import { createClient } from "@supabase/supabase-js";
    
    const supabaseUrl = process.env.SUPABASE_URL;
    const supabaseAnonKey = process.env.SUPABASE_ANON_KEY;
    
    export const supabase = createClient(supabaseUrl, supabaseAnonKey);
  • r

    rc9999999

    11/09/2021, 10:52 AM
    Both are in a .env.local file
  • w

    wiesson

    11/09/2021, 11:55 AM
    Can I create a uuid from the admin-table view? I tried it like this, but doesn't work 🙈 The
    UUID-OSSP
    extension is active
  • z

    zwarag

    11/09/2021, 12:04 PM
    is that nodejs application or what is that?
  • z

    zwarag

    11/09/2021, 12:04 PM
    are you loading the config file?
    Copy code
    bash
    npm i dotenv
    and add
    Copy code
    js
    require('dotenv').config();
    below your import
  • r

    rc9999999

    11/09/2021, 1:02 PM
    I fixed it, it was the naming of the keys
  • m

    Milou

    11/09/2021, 1:38 PM
    when i use supabase auth, im essentially forced to use the preset user schema from supabase, correct?
  • m

    Milou

    11/09/2021, 1:41 PM
    i.e. i need to use the predefined table from supabase auth?
  • r

    romanetar

    11/09/2021, 5:28 PM
    Hey guys. We are experiencing problems with supa in our production environment and need to restart the service frequently. I've already opened a ticket in support but I need to know if there is any log that I can access to see what happened. Thanks
    s
    • 2
    • 2
  • s

    silentworks

    11/09/2021, 7:57 PM
    Supabase production environment issue
  • p

    pedrodiaz

    11/09/2021, 9:34 PM
    Is there a way to get the SQL of the tables from supabase?
  • k

    Kyrax

    11/09/2021, 10:44 PM
    Hey 👋! I really want to make supabase work with my setup but I'm hitting a wall at the moment. I'd like to use Prisma, Supabase (postgresql) and Supabase Auth. The issue: Supabase Auth uses the table
    auth.users
    Prisma does not support joins across multiple schemas. I'd like to have a
    post
    table with a
    userId
    column that references
    auth.users.userId
    Is this something that some of you have encountered and resolved before?
  • j

    jon.m

    11/10/2021, 12:59 AM
    after clicking the password recovery link in email, i get this error on the page: {"message":"no Route matched with those values"}
  • j

    jon.m

    11/10/2021, 1:11 AM
    That's actually happening with the confirmation link as well. I recently added a custom domain.
  • j

    jon.m

    11/10/2021, 1:11 AM
    I'm thinking that might be related.
  • j

    jon.m

    11/10/2021, 2:39 AM
    my issue was that my redirect link in the supabase dash didn't include https://
  • m

    Marky

    11/10/2021, 8:02 AM
    Is there a way to view a supabase api that's public and read only without a key?
    s
    • 2
    • 4
  • s

    silentworks

    11/10/2021, 10:13 AM
    Read data without a key
1...128129130...316Latest