Skip to content

Faust gives incorrect error when site is password protected with http basic auth #1850

@mindctrl

Description

@mindctrl

Description

If a site is password protected with Basic Auth, any commands that talk with the WP site will cause Faust to throw an error message that isn't exactly accurate. You will see:

error - Ensure your FAUST_SECRET_KEY environment variable matches your Secret Key in the Faust WordPress plugin settings

We should try to detect this situation and provide a more accurate error message.

Steps to reproduce

  1. Enable http basic auth on your WP site
  2. Configure Faust to point to the above WP site
  3. Run npm run dev
  4. See inaccurate error message

Additional context

No response

@faustwp/core Version

3.x

@faustwp/cli Version

3.x

FaustWP Plugin Version

1.2.2

WordPress Version

6.4.3

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssue that doesn't require previous experience with codebasetype: bugIssue that causes incorrect or unexpected behavior

    Type

    No type

    Projects

    Status

    🆕 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions