https://supabase.com/ logo
Join DiscordCommunities
Powered by
# help
  • e

    ehesp

    08/05/2021, 6:02 PM
    Does anyone know whether the call to the
    api.auth.refreshAccessToken
    also refresh the provider access token (in this case github)?
  • s

    spiderz

    08/05/2021, 6:10 PM
    The following tutorial at supabase recommends creating a "profiles" table to store user details. There is also a public.users table. https://supabase.io/docs/guides/with-nextjs Is it recommended to use 'profiles' table over 'public.users' table to store user details?
  • s

    spiderz

    08/05/2021, 6:24 PM
    After the new Supabase dashboard launch, I am unable to see auth.tables, for example auth.users. Before that, I could see them in the Database menu link. How can see the auth tables again in the dashboard?
  • s

    silentworks

    08/05/2021, 6:34 PM
    Those should not be accessible through the Dashboard UI, they are not to be tampered with and if someone wants to see the values in them you can use the SQL editor and query that table or use an external Postgres client to view this those tables
  • s

    spiderz

    08/05/2021, 6:36 PM
    True. But before the dashboard update, I was able to see the statistics- view only - which users logged when etc. I think that was a good feature for non-SQL folks like me.
  • s

    silentworks

    08/05/2021, 6:37 PM
    Add this to #867348150741237790 channel
  • s

    spiderz

    08/05/2021, 6:37 PM
    πŸ‘ πŸ‘
  • u

    user

    08/05/2021, 6:40 PM
    I think redirectTo may be broken
  • u

    user

    08/05/2021, 6:40 PM
    It seems as if it's ignoring it all together
  • u

    user

    08/05/2021, 6:41 PM
    I have links setup in the admin and I have the redirectTo set on the oauth call to sign in
  • u

    user

    08/05/2021, 6:41 PM
    Could someone help point me in the right direction, I may be doing something wrong
  • s

    silentworks

    08/05/2021, 6:42 PM
    @User create a thread about it and explain what you are doing exactly
  • u

    user

    08/05/2021, 6:44 PM
    Okay, certainly πŸ™‚
  • c

    cheezyhao95

    08/06/2021, 12:45 AM
    Just wondering if Supabase is capable of logging out all user from an admin API or via the web console?
  • l

    Luis Felipe

    08/06/2021, 1:21 AM
    Hi folks... is there a way to update/migrate an existing project to Postgres 13?
  • s

    s u s h i

    08/06/2021, 6:33 AM
    does anyone know the meaning of this error?
  • s

    s u s h i

    08/06/2021, 6:39 AM
    oops nevermind, it was my trigger function thats causing the error
  • t

    TheOriginalDude

    08/06/2021, 6:49 AM
    Hi everyone, Quick question, How can I specify the max length of a field, Like, if I have varchar type, I can specify length using
    VARCHAR(255)
    in SQL. How do I do this in Table editor?
  • s

    s u s h i

    08/06/2021, 6:54 AM
    i guess you can do it normall in SQL
  • s

    s u s h i

    08/06/2021, 6:54 AM
    normally*
  • j

    JW

    08/06/2021, 6:55 AM
    ALTER TABLE table_name ALTER COLUMN column_name TYPE VARCHAR(length);
    change it like this after creating the table if you want to use the table editor for the rest
  • t

    TheOriginalDude

    08/06/2021, 7:01 AM
    So, This thing would be manual right?
  • j

    JW

    08/06/2021, 7:02 AM
    yes, that way you can create your table with the table editor and only change the column afterwards. Or you create the table completely manually.
  • t

    TheOriginalDude

    08/06/2021, 7:03 AM
    Ah gotcha. Then a suggestion probably would be adding this to table editor, Might even make an issue / PR later.
  • v

    venca

    08/06/2021, 11:57 AM
    What user will execute api calls? if I select anon user in curl I will get 403 for calling functions that reference data in non public schema
  • y

    YelloJello

    08/06/2021, 12:40 PM
    how do you delete the httpOnly cookie set via setAuthCookie? I tried to send a request without the token and I got an error:
    Error: Auth event missing!
  • y

    YelloJello

    08/06/2021, 12:42 PM
    nvm you're supposed to send the entire event and session object along too^
  • u

    user

    08/06/2021, 2:00 PM
    Hey folks. I’m building a Next.js app and one of my requirements is to serve an API to external services I don’t control. With the current authentication system is it possible to, after signing up normally through the browser, generate an API key/token of some kind that users can use to auth with their own tools/services (first use case is an external Discord bot that wants to read/write protected data.).
  • j

    juanzen

    08/06/2021, 3:35 PM
    Hello Supabase people! I'm creating a table, and making a mock up row. When I try to insert a text[] field, it says "Error for input: Invalid Array". I'm working on the dashboard right now, what's the correct formatting for the field?
  • j

    juanzen

    08/06/2021, 3:45 PM
    I figured it out. Quite strange that "{something}" syntax.
1...373839...316Latest