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

    wiesson

    07/28/2021, 1:35 PM
    that works
  • a

    Azura

    07/28/2021, 1:35 PM
    Haha, no problem 😁 @wiesson
  • u

    6ary

    07/28/2021, 3:16 PM
    I'm running into an error trying to delete an auth'd user, has anyone run into this before?
    Copy code
    const { user, error } = await supabase.auth.api.deleteUser(id, config.serviceKey);
  • u

    6ary

    07/28/2021, 3:17 PM
    I also don't see docs in the api -> auth management section for delete
  • p

    Probert

    07/28/2021, 3:29 PM
    Hey all. I keep getting this message when trying to access my storage buckets:
    An invalid response was received from the upstream server
    Something going on?
  • a

    Azura

    07/28/2021, 3:31 PM
    Hello @User, error code 500 is Internal Server Error. Which implies that there is problem with Supabase servers. Indeed, the team recently migrate part of Supabase data to use upgraded version of Auth, which might cause problems for some projects.
  • a

    Azura

    07/28/2021, 3:31 PM
    For now, please see https://discord.com/channels/839993398554656828/843999948717555735/869903839292178462 for a temporary fix
  • a

    Azura

    07/28/2021, 3:32 PM
    @User
  • e

    everconfusedguy

    07/28/2021, 3:32 PM
    send your project ref to beta@supabase.io and we will take a look
  • p

    Probert

    07/28/2021, 3:33 PM
    👍 Will do, thanks
  • b

    Bryan K.

    07/28/2021, 3:46 PM
    I'm trying to setup a new SvelteKit app with Supabase as the backend. Do you have any guidance on how kit endpoints should be setup with calls to Supabase? I'm looking for recommended best practices.
  • l

    Luis Felipe

    07/28/2021, 3:46 PM
    Hi folks, can somebody help me? I need to do a request from postman to supubase API using full text search, but I don't know how to use the params
  • a

    Azura

    07/28/2021, 3:49 PM
    I think you have setup Supabase API for that.
  • a

    Azura

    07/28/2021, 3:49 PM
    Check out this link https://supabase.io/docs/guides/database/full-text-search
  • a

    Azura

    07/28/2021, 3:49 PM
    I think it might be useful.
  • l

    Luis Felipe

    07/28/2021, 3:50 PM
    My database is setting up... I have all ready... but a I need to do the query
  • a

    Azura

    07/28/2021, 3:50 PM
    You could read the docs for best practices provided by the Supabase team themselves. https://supabase.io/docs
  • s

    silentworks

    07/28/2021, 3:51 PM
    There is a really nice project setup here https://github.com/joshnuss/supabase-sveltekit-example, I'm also working on something with Supabase and SvelteKit which I'll make open source soon
  • e

    erquhart

    07/28/2021, 3:52 PM
    Looking to use Supabase strictly for the db, using Netlify as the core service for hosting, auth, functions, etc. Trying to switch from Firestore, which allows you to authenticate a user with just a user id - the understanding being that you've already handled secure authentication, you're sure you have the right user, and you're just passing in the uid. Is this possible with Supabase?
  • a

    Azura

    07/28/2021, 3:52 PM
    You can check out links in this thread https://supabase.io/docs/postgrest/client/postgrest-client
  • a

    Azura

    07/28/2021, 3:53 PM
    Yes, this is possible with Supabase.
  • e

    erquhart

    07/28/2021, 3:55 PM
    I did my best in the docs but couldn't find the right path. Have a link?
  • b

    Bryan K.

    07/28/2021, 3:57 PM
    Yeah, I actually paid Josh to help me with some initial setup. My question here is more focused on if I should setup a bunch of variables like shown on https://github.com/joshnuss/supabase-sveltekit-example/blob/main/src/lib/db.ts#L19 or if I should use SvelteKit endpoints for different tables with get/post/del functions that then interact with the Supabase system.
  • a

    Azura

    07/28/2021, 3:59 PM
    https://supabase.io/docs/reference/javascript/select https://supabase.io/docs/reference/javascript/insert
  • s

    silentworks

    07/28/2021, 3:59 PM
    I would go along the route of how Josh is doing it and then import those into my code where necessary, I mean most of this will be personal preference and depends on situation. Maybe you want to handle certain Supabase calls purely on the client side and not server side, while you might want to do other on the server (get/post/del functions).
  • a

    Azura

    07/28/2021, 4:00 PM
    And you can retrieve current user by following this link https://supabase.io/docs/reference/javascript/auth-user
  • l

    Luis Felipe

    07/28/2021, 4:02 PM
    Thanks... that was what I was looking for... Bu, I have a new problema when I do my request to the API... I received this, "message": "permission denied for schema public" I am using my public api key...
  • a

    Azura

    07/28/2021, 4:04 PM
    your public api key should be 64bit encoded
  • a

    Azura

    07/28/2021, 4:05 PM
    Can you check out this link? https://postgrest.org/en/stable/tutorials/tut1.html#tut1
  • b

    Bryan K.

    07/28/2021, 4:08 PM
    So where is the best place to store the user's auth token for calls on server and client side? I've seen cookies, localstorage, SvelteKit store, session, etc.
1...192021...316Latest