Skip to content

CLI: Supabase Authentication. error: password authentication failed for user "postgres" #1770

@Ksrzg01

Description

@Ksrzg01

Describe the bug
When installing the latest CLI and performing simple inserts, the code errors out as the normal 'postgres' dev password is no longer working. When I revert to version 1.112.0, everything works just fine.

To Reproduce
Steps to reproduce the behavior:
Install the latest CLI
Run a normal seed process which uses the supabase libary to insert data

Expected behavior
Installation of CLI as well as successful seeding process.

Screenshots
image

Function where authentication fails
image

Desktop (please complete the following information):

  • Version of CLI 1.123.4
  • Version of supabase-js (if applicable) 2.39.0
  • Version of Node.js (if applicable) v18.13.0

Additional context
I wish I could better explain the issue, but ultimately I have a GH action that rebuilds and tests out my website using the latest supabase cli version, in this case 1.123.4. I've been pushing changes without issue until last week when this started to manifest. After changing the version of the supabase CLI from 1.123.4 to 1.112.0, I was able to get a successful run. The part that is failing is when I try to clear the tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions