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

    Anoushk

    12/25/2021, 5:41 AM
    Copy code
    jsx
    const { data, error } = await supabase
            .from("daos")
            .select()
            .eq(
              "signer_id",
              user.user_metadata != undefined ? user.user_metadata.provider_id : ""
            );
  • a

    Anoushk

    12/25/2021, 5:46 AM
    cn someone help?
  • u

    unsuitable001

    12/25/2021, 8:18 AM
    Can we query other tables also in RLS policies?
    s
    a
    • 3
    • 3
  • b

    bh

    12/25/2021, 11:12 AM
    How do you download all the files in a bucket (say for backup, or to migrate to a new project) - I have about 100 files in a bucket - if I uses "select all" and download, it only gets about 10 files
  • a

    Anoushk

    12/25/2021, 12:56 PM
    How do you update one cell for a particular row and column
  • a

    Anoushk

    12/25/2021, 12:57 PM
    i want to update the location field for the row that mathes user id in users table
  • f

    Frank P

    12/25/2021, 6:26 PM
    how do you access the User model data property inside the confirm signup template. I can access email with {{ .Email }} but UserMetadata is an object with key value pairs. Would it be something like {{ .UserMetadata.Name }}
    Copy code
    const { user, session, error } = await supabase.auth.signUp(
      {
        email: 'example@email.com',
        password: 'example-password',
      },
      {
        data: { 
          first_name: 'John', 
          age: 27,
        }
      }
    )
    Copy code
    <h2>Welcome {{ .UserMetadata }} to THHI Housing Finder</h2>
    <h2>Confirm your signup</h2>
    
    <p>Follow this link to confirm your user account:</p>
    <p><a href="{{ .ConfirmationURL }}User/EmailConfirmed">Confirm your mail</a></p>
  • f

    Frank P

    12/25/2021, 6:35 PM
    Figured it out
  • b

    Barba

    12/25/2021, 7:36 PM
    Hi there, quick one. I dont get how I could set the url for the recovery email message. I've tried to add it manually, but when doing it I dont get the params.. thanks.
  • a

    Adamo

    12/26/2021, 12:03 AM
    If I just wanted to use Supabase for image storage and user authentication is that possible? I'm more familiar with defining my database schema with prisma and using their ORM to interact with the DB. It's just not clear to me how the two can be connected.
  • t

    tourdownunder

    12/26/2021, 12:33 AM
    Yes a month or so ago I completed the https://supabase.com/docs/guides/with-svelte and its shows and example on how you upload your profile pic to supabase. Also I built upon this guide to make it also use twitter auth with a bit of configuration / api keys etc. I'm not familiar with prisma though it seems to be used together with https://dev.to/prisma/set-up-a-free-postgresql-database-on-supabase-to-use-with-prisma-3pk6
  • f

    FreakDJ

    12/26/2021, 2:22 AM
    Hi all! I have a repository on GitHub and my project makes use of Supabase! A person would like to help contribute to the repo - how can I safely allow access to the database so the contributor would be able to use/test locally? My database isn't anything special and I wouldn't mind it getting messed up so I invited them via email but still may be good to know in the future when I have the real database ready!
  • l

    lorencerri

    12/26/2021, 6:47 AM
    Is there any way to access the
    auth.identities
    table directly? The only option I seem to have found is to create a clone of it
  • s

    skyscanner

    12/26/2021, 8:09 AM
    Hi everyone Good Morning from South Africa, is it possible to sign in (create user session) with an access token that I minted using the supabase secret? Thank you
  • k

    ktosiek

    12/26/2021, 11:51 AM
    You can use `supabase.auth.setAuth(access_token)`: https://supabase.com/docs/reference/javascript/auth-setauth
  • k

    ktosiek

    12/26/2021, 11:52 AM
    you can create a view with just the right data. Why do you want to access it?
  • s

    Subramanya Chakravarthy

    12/26/2021, 12:06 PM
    Hi, I am a frontend guy trying to create some table with references. Can anyone help me proof check and validate please?
  • s

    Subramanya Chakravarthy

    12/26/2021, 12:06 PM
    you should be able to, check the identities table and see if the entry is available
  • s

    skyscanner

    12/26/2021, 12:10 PM
    @User You are a champ, it worked successfully. I am using auth0 actions to add MFA and other smart things to a SPA. Do you or @User know how I can contribute auth0 as an oauth provider. Struggling to navigate the repo 🙌
  • s

    Subramanya Chakravarthy

    12/26/2021, 12:11 PM
    why do you want to integrate Auth0, when supabase already have it
  • s

    skyscanner

    12/26/2021, 12:11 PM
    Really?
  • s

    Subramanya Chakravarthy

    12/26/2021, 12:12 PM
    oh you want MFA, I think it's work in progress
  • k

    ktosiek

    12/26/2021, 12:16 PM
    @User this suggests gotrue can integrate with Auth0 through the SAML provider: https://github.com/netlify/gotrue/pull/181 So that's one part of the battle
  • k

    ktosiek

    12/26/2021, 12:20 PM
    The other part would be adding support to supabase studio (aka app.supabase.io), which lives in https://github.com/supabase/supabase, "studio" directory
  • s

    skyscanner

    12/26/2021, 12:20 PM
    This is fascinating, the current dashboard does not allow me to add my own authserver url, clientid and redirectUrl ?
  • k

    ktosiek

    12/26/2021, 12:21 PM
    Yeah, I would not be surprised at all if they decided to only support SAML2 in some "Enterprise 24/7" plan for "call sales for a quote" dollars 😛
  • s

    skyscanner

    12/26/2021, 12:26 PM
    buts its open-source we shall now allow it 😆 , I want to raise a PR for an additional "custom" option as described. I am not too familiar with the codebase but very eager to put something out and see what happens
  • k

    ktosiek

    12/26/2021, 12:27 PM
    Go for it!
  • s

    skyscanner

    12/26/2021, 12:32 PM
    I can't seem to find any previous PRs which introduced the other providers, can you point or @User please point in some direction? 🙏
  • s

    skyscanner

    12/26/2021, 12:35 PM
    https://github.com/supabase/gotrue-js/issues/131 this seems to be a concern in the community
1...172173174...316Latest