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

    timeforpoptarts

    05/18/2022, 6:53 PM
    I upgraded recently to 1.4.0 for supabase-auth-helpers and am now seeing an error message in component: "The request to /api/auth/user failed"
    n
    • 2
    • 7
  • r

    rchrdnsh

    05/18/2022, 9:18 PM
    Hi all, How would I allow a user to change/update their email address and/or password from their profile page? I can't seem to find any tutorials on that...
    n
    g
    • 3
    • 7
  • r

    rchrdnsh

    05/18/2022, 10:09 PM
    Hi all, How can I show the user their current email address in their profile page?
    n
    b
    • 3
    • 5
  • b

    benten

    05/19/2022, 1:55 AM
    How can I set the default value of an array to an empty array?
    [], "[]", "[""]", "{}"
    don't work: malformed array literal.
    n
    g
    • 3
    • 4
  • a

    Anurag

    05/19/2022, 4:15 AM
    how do i pass scopes while logging in w spotify provider?
    n
    • 2
    • 1
  • a

    Anurag

    05/19/2022, 4:37 AM
    well when i log the session object out while signing in w spotify, there also is an access token attached to it... but seems like its invalid or smth??? bec if i use it go fetch some spotify's api endpoint, it throws an error
    n
    o
    • 3
    • 3
  • j

    jaitaiwan

    05/19/2022, 5:38 AM
    Hey folks, I'm wondering if there's any more information on custom claims: https://github.com/supabase/supabase/discussions/1148 We're trying to setup multi-tenancy and slowly migrate an existing graphql w/ non-postgres db across fully into supabase and hoping to not have to do a completely custom implementation with raw_app_metadata. My biggest concern and the reason I ask, is there's no contract that I'm aware of that will allow me to update raw_app_metadata server-side and be ensured that it will persist when subsequent sign-in providers for a user's account for example are added. Knowing that go needs types and that gotrue might not be aware of the additional fields I add to the json structure, I'm concerned it might get overwritten.
    n
    b
    • 3
    • 25
  • d

    d33pu

    05/19/2022, 7:43 AM
    seems like SQL editor workspace is buggish on Brave browser I lost my sql queries how can I get access to code of sql procedures that was written and saved successfully.
    n
    • 2
    • 5
  • a

    avalanche

    05/19/2022, 10:48 AM
    I'm trying to enable extension by issuing SQL command 'create extension earth_distance with schema extensions;' but what I get is error saying 'could not open extension control file "/usr/share/postgresql/14/extension/earth_distance.control": No such file or directory'. I'm running a local instance of supabase in docker, but I'm getting the same error in online instance too.
    n
    s
    • 3
    • 4
  • r

    RootKernel

    05/19/2022, 12:02 PM
    Hi there, I'm currently using supabase in my no-code tool, and I wanted to know if there is an API to query the "shape" of a schema or a specific table to be able to present a simple UI to my users ?
    n
    n
    • 3
    • 13
  • a

    al!lo

    05/19/2022, 12:43 PM
    Hi there, Can we use Dart client library to run GraphQL queries? how?
    n
    • 2
    • 1
  • t

    TheFinalRespawn

    05/19/2022, 1:51 PM
    hi, im a noob to databases and webdevelopment. is it possible to add new users to my database without them needing to authenticate (via e-mail, phone and so on)? i just need a unique identifier for each user, when they open the website. maybe deleting them after a certain time of inactivity or so
    n
    r
    • 3
    • 4
  • y

    yatharth

    05/19/2022, 2:12 PM
    Hey! Can I use Supabase for authentication on Chrome Extension? I don't want them to be logged out now and then. Does Supabase support that?
    n
    • 2
    • 2
  • n

    NinjaNuur

    05/19/2022, 3:08 PM
    Hey Anyone know how I can pass multiple headers? Below works only for single header
    Copy code
    SELECT content::json->'headers'->>'Authorization' FROM http((
              'GET',
               'http://httpbin.org/headers',
               ARRAY[http_header('Authorization','Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9')],
               NULL,
               NULL
            )::http_request)
    n
    g
    • 3
    • 5
  • e

    ElectricDragon

    05/19/2022, 3:34 PM
    Hi I had opened this discussion on GitHub...can I get some help? https://github.com/supabase/supabase/discussions/6860
    n
    • 2
    • 1
  • h

    Hakkā

    05/19/2022, 7:16 PM
    hey, I just want to know if I pass data in signup, how they'll be handle by supabase ? if there is a public profiles table, supabase will auto insert a new row with passed datas ?
    n
    g
    • 3
    • 7
  • n

    NinjaNuur

    05/19/2022, 9:51 PM
    Hey everyone, I've been using the openapi npx script to generate supabase types. It's been working perfectly a couple days ago, now I get this error (node:42157) UnhandledPromiseRejectionWarning: TypeError: Cannot use 'in' operator to search for 'openapi' in Missing or invalid credentials. Anyone else facing the same issue?
    n
    j
    • 3
    • 5
  • b

    Borisdm

    05/19/2022, 11:22 PM
    So I am having trouble with supabase Storage. I have created a policy for public access to a folder, but after generating the public url it's gives an 404 error? What am I missing here, oh also the bucket is public
    n
    g
    • 3
    • 3
  • j

    joaogomesdev

    05/19/2022, 11:40 PM
    Hello there! Im having a problem with authentication. When i login with a provider, the provider returns https://mysupabaseurl.co/myHomeProductionURL/accesstoken
    n
    • 2
    • 3
  • j

    joaogomesdev

    05/19/2022, 11:48 PM
    Hello there! Im having a problem with authentication. When i login with a provider, the provider returns https://mysupabaseurl.co/myHomeProductionURL/accesstoken It returns Supabase URL + Home page Hosted URL + access token instead of Home page Hosted URL + access token As u can see
    n
    • 2
    • 1
  • j

    joshcowan25

    05/20/2022, 3:00 AM
    With Row Level Security (RLS), how would I define that you can only insert content if you have the role level of 42 for example? I have a user table in my public schema and I have the user id + the role level. would it work it I did something like auth.id() = user.id AND user.role = 42? Do I have to 'import the tables' or are all tables accessible from security policy?
    n
    g
    • 3
    • 22
  • m

    Michie

    05/20/2022, 6:06 AM
    Anyone experiencing issues on Safari in Supabase?
    Copy code
    Preflight response is not successful
    XMLHttpRequest cannot load [SUPABASE URL LINK] due to access control checks.
    Sometimes it works, sometimes it doesn't work on safari and that is error found in the console log. Using NuxtJS. Thanks.
    n
    j
    • 3
    • 3
  • j

    jaitaiwan

    05/20/2022, 7:22 AM
    Hey folks trying to insert value of a string array in the table editor and I'm gettting "invalid array" I've tried the following values: -
    {'admin'}
    -
    '{"admin"}'
    -
    ['admin']
    Can't really get it to work?
    n
    t
    • 3
    • 7
  • t

    tcampb

    05/20/2022, 12:07 PM
    Hello, I'm a new user that just setup the CLI and was wondering if there is anyway to retrieve changes from the remote db to my local instance? I didn't see a
    db pull
    command in the CLI reference documentation. Thanks!
    n
    • 2
    • 1
  • t

    theuknowner

    05/20/2022, 12:49 PM
    Hello, how can I benchmark my db instance in order to check if it suits my requirements?
    n
    s
    • 3
    • 3
  • s

    solidsnail

    05/20/2022, 1:21 PM
    Hi, why is onAuthStateChange getting triggered on browser tab focus ? Is this intentional ?
    n
    g
    • 3
    • 10
  • k

    Kilian

    05/20/2022, 1:47 PM
    hey folks, is there a way to set up github auth with a local supabase? (https://supabase.com/docs/guides/local-development)
    n
    j
    • 3
    • 13
  • i

    itsetuhoinen

    05/20/2022, 2:43 PM
    Ok. So, the project we've been building involving Supabase has launched and it's working fine. So, now I've been asked to figure out how to self-host it. I imagine this would have been somewhat easier last week, but, so it goes. I think the Docker self-hosting option is almost certainly the easiest choice for me. I have found the pages related to self-hosting on Docker and regarding migrating a project, but I have a few questions still. 1.) In the migration guide, it talks about "decoupl[ing] your database from the middleware", but I'm not quite sure exactly what that means in this context. If we're already using a Supabase DB as is, would that already count as being as decoupled as we'd need? 2.) Is there a guide specifically oriented towards making the switchover from a Supabase hosted Supabase instance and a self-hosted Supabase instance as seamless and invisible for users as possible?
    n
    j
    • 3
    • 19
  • l

    LeDragunov

    05/20/2022, 4:41 PM
    hello is there APIs for getting/uploading/deleting ?
    n
    b
    g
    • 4
    • 9
  • u

    <Ocean />

    05/20/2022, 6:54 PM
    I do have supabase in docker (docker-compose), how can I migrate it to another machine with all data there?
    n
    s
    • 3
    • 4
1...272273274...316Latest