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

    __ianjasper

    05/26/2022, 12:48 PM
    Does supabase can handle things like for example in user table you have an email field then always omit in returned response in client? i just want to think that i dont want to expose the email value depends on the role. (maybe if not an admin)
    n
    m
    • 3
    • 3
  • a

    arcavid

    05/26/2022, 1:28 PM
    How to order by foreign table's count?
    n
    g
    • 3
    • 7
  • a

    abraxas

    05/26/2022, 1:57 PM
    Hey, I'm trying to use my own domain at the Google Oauth screen. But I can't seem to get it to change the redirect URL. I can't seeme to find any good slutions on google. I have the domains verified at google.
    n
    m
    • 3
    • 6
  • s

    Studywithdesign

    05/26/2022, 2:22 PM
    how can I use state management with supabase auth
    n
    • 2
    • 3
  • v

    vexkiddy

    05/26/2022, 2:30 PM
    hiya... anyone else experiencing api issues at the moment using supabase ?
    n
    g
    • 3
    • 17
  • l

    Lio

    05/26/2022, 6:05 PM
    Trying to set up discord as a provider but I keep getting an invalid OAuth2 URI on their end even though I provided the correct URL Edit: Figured it out, forgot to add v1/ in the url
    n
    • 2
    • 3
  • l

    Luc

    05/26/2022, 6:15 PM
    Copy code
    ts
      const onStartup = async () => {
          if (supabase.auth.session()) {
            if (router.pathname === "/prijava") {
              await router.push("/")
            }
            userState.user_id = supabase.auth.session().user.user_metadata.id
            userState.user_displayName =
              supabase.auth.session().user.user_metadata.name
            userState.user_email = supabase.auth.session().user.user_metadata.email
            userState.user_photoUrl =
              supabase.auth.session().user.user_metadata.avatar_url
            userState.user_isAuth = true
            setLoading(false)
          }
    
          const auth = supabase.auth.onAuthStateChange(async (event, session) => {
            if (event === "SIGNED_IN") {
              userState.user_id = session.user.user_metadata.id
              userState.user_displayName = session.user.user_metadata.name
              userState.user_email = session.user.user_metadata.email
              userState.user_photoUrl = session.user.user_metadata.avatar_url
              userState.user_isAuth = true
              setLoading(false)
            }
            if (event === "SIGNED_OUT") {
              userState.user_id = null
              userState.user_displayName = null
              userState.user_email = null
              userState.user_photoUrl = null
              userState.user_isAuth = false
              await router.push("/prijava")
              setLoading(false)
            }
          })
          
      }
    n
    g
    • 3
    • 52
  • o

    omri

    05/26/2022, 7:16 PM
    how does the security story look in supabase, specifically access control? say i only plan on using the postgrest and realtime apis, is there a way to say "i only want the supabase-hosted backend to be able to connect to my db"? because otherwise anyone who gets access to the correct credentials (they won't, but still) can access all of my data like they would on a regular postgres instance, no?
    n
    s
    • 3
    • 11
  • j

    josh.

    05/26/2022, 7:26 PM
    i'm having issues connecting to my database server, and it only started happening about 30 mins ago. the website works fine, but using prisma, connecting to it through the postgres CLI and also pgadmin fails with a timeout
    n
    j
    • 3
    • 4
  • t

    theuknowner

    05/26/2022, 7:29 PM
    How can I connect Supabase Self-Hosted to an external database?
    n
    j
    • 3
    • 4
  • f

    Fainaru

    05/26/2022, 8:51 PM
    Error using supabase local development
    n
    s
    • 3
    • 8
  • a

    arcavid

    05/27/2022, 12:57 AM
    Anyone having Origin DNS error? Dashboard and local client have not been working since 5 minutes ago.
    n
    g
    m
    • 4
    • 10
  • l

    lollerblader

    05/27/2022, 1:01 AM
    Suddenly getting some intermittent CORS errors on my Supabase requests in the past few minutes. Seems to be working right this minute but figured I'd report it just in case
    n
    g
    • 3
    • 3
  • b

    brandymarsh

    05/27/2022, 1:04 AM
    does anyone have more information on the broader issue related to DNS going on? it's taken our production down, random requests returning status code 530
    n
    g
    • 3
    • 3
  • m

    michmich112

    05/27/2022, 1:16 AM
    +1 here
    n
    • 2
    • 2
  • p

    plaza.coding

    05/27/2022, 1:16 AM
    Yeah I'm receiving the same error. Requests work for a sec but then the CORS error comes back. I'm trying to close a sale but the user ran into the same problem
    n
    • 2
    • 1
  • o

    owonwo

    05/27/2022, 1:16 AM
    It looks like my project server just crashed.
    n
    g
    • 3
    • 5
  • l

    levantine

    05/27/2022, 1:18 AM
    Is the same for me, my project is broken
    n
    • 2
    • 1
  • n

    Needle

    05/27/2022, 1:28 AM
    Hello @Jeb! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
    g
    • 2
    • 2
  • b

    burggraf

    05/27/2022, 1:31 AM
    Looks like there's a problem with the dashboard, but all projects are operational.
    n
    g
    +4
    • 7
    • 17
  • s

    snoodleking

    05/27/2022, 1:33 AM
    also having a DNS issue 😩
    n
    • 2
    • 1
  • f

    ferpintado

    05/27/2022, 1:39 AM
    Having CORS issues too
    n
    • 2
    • 1
  • a

    arcavid

    05/27/2022, 1:40 AM
    Which roles should I grant true value in RLS to make my database function be able to update the table?
    n
    g
    b
    • 4
    • 29
  • b

    burggraf

    05/27/2022, 1:45 AM
    There's an issue with Cloudflare right now that's causing problems connecting to the dashboard and also some problems with projects, throwing errors, etc. Our engineers are working directly with Cloudflare right now to resolve this and I'll update you when it's resolved.
    n
    b
    • 3
    • 3
  • s

    spense

    05/27/2022, 2:06 AM
    Still down? All DB requests through lambda respond with
    You've requested a page on a website (xxx.supabase.co) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (xxx.supabase.co).
    n
    • 2
    • 1
  • a

    alph42

    05/27/2022, 2:30 AM
    Any update here? The status page claims it's only impacting the dashboard, but my website can't make any postgrest calls to supabase.
    n
    g
    • 3
    • 5
  • n

    Needle

    05/27/2022, 2:33 AM
    Hello @aquaspirit! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
    • 1
    • 2
  • t

    taj

    05/27/2022, 2:56 AM
    i'm going live with my fist site next week... is this something thats only affecting instances in development or are production sites affected as well?
    n
    g
    • 3
    • 4
  • a

    aquaspirit

    05/27/2022, 2:59 AM
    how to toggle "Waiting for Verification" behavior for email signups? I'm using SendGrid but i don't want to use supabase SMTP settings because i don't know how to make it work with SendGrid's serverless api
    n
    f
    • 3
    • 6
  • d

    directive

    05/27/2022, 3:16 AM
    Anyone know if updating site urls for authentication takes some time to process? I'm using slack login and it's still redirecting to the old url for some reason
    n
    g
    s
    • 4
    • 6
1...276277278...316Latest