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

    Deleted User

    12/22/2021, 11:30 PM
    on the web panel postgres errors out with: "Error: [500] password authentication failed for user "postgres""
  • h

    hips

    12/22/2021, 11:30 PM
    did you actually change the password or just edit the env?
  • d

    Deleted User

    12/22/2021, 11:30 PM
    I edited the env...
  • d

    Deleted User

    12/22/2021, 11:30 PM
    Isn't that what you're supposed to do?
  • d

    Deleted User

    12/22/2021, 11:31 PM
    That was kind of just a stupid guess
  • h

    hips

    12/22/2021, 11:31 PM
    postgrest has users, each user has a password
  • d

    Deleted User

    12/22/2021, 11:31 PM
    right.
  • d

    Deleted User

    12/22/2021, 11:31 PM
    I probably need to change the password back in the .env
  • d

    Deleted User

    12/22/2021, 11:31 PM
    change the password in SQL
  • d

    Deleted User

    12/22/2021, 11:31 PM
    then change the env again
  • d

    Deleted User

    12/22/2021, 11:31 PM
    right?
  • h

    hips

    12/22/2021, 11:32 PM
    that is an option
  • h

    hips

    12/22/2021, 11:32 PM
    or access postgres directly and change the password
  • h

    hips

    12/22/2021, 11:32 PM
    sounds like you're querying through supabase? you can also query directly
  • d

    Deleted User

    12/22/2021, 11:33 PM
    I assumed I could, I just understand so little about SQL databases that I find supabase easier
  • h

    hips

    12/22/2021, 11:33 PM
    ofcourse
  • d

    Deleted User

    12/22/2021, 11:39 PM
    yeah it worked
  • d

    Deleted User

    12/22/2021, 11:39 PM
    thank you
  • d

    Deleted User

    12/22/2021, 11:41 PM
    except now
  • d

    Deleted User

    12/22/2021, 11:41 PM
    with my actual application
  • d

    Deleted User

    12/22/2021, 11:41 PM
    I'm getting the error
    Copy code
    JWSError JWSInvalidSignature
    when trying to query from the database
  • h

    hips

    12/22/2021, 11:42 PM
    are you working with an old access token maybe? (in other words, logout and login again)
  • h

    hips

    12/22/2021, 11:42 PM
    if not, did you change anything else in your env?
  • d

    Deleted User

    12/22/2021, 11:45 PM
    The user isn't logged in
  • d

    Deleted User

    12/22/2021, 11:45 PM
    this table is for public data that anyone can access
  • d

    Deleted User

    12/22/2021, 11:45 PM
    like the terms of service
  • d

    Deleted User

    12/22/2021, 11:45 PM
    I have an RLS policy to allow select *
  • d

    Deleted User

    12/22/2021, 11:45 PM
    which normally works on the main app.supabase.io service
  • h

    hips

    12/22/2021, 11:46 PM
    do you have a valid jwt secret?
  • h

    hips

    12/22/2021, 11:47 PM
    should be more than 32 chars long
1...168169170...316Latest