Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
mindctrl opened this issue Mar 15, 2024 · 0 comments
Open
1 task done
Labels
good first issue Issue that doesn't require previous experience with codebase type: bug Issue that causes incorrect or unexpected behavior

Comments

@mindctrl
Copy link
Contributor

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
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Headless OSS Mar 15, 2024
@mindctrl mindctrl added type: bug Issue that causes incorrect or unexpected behavior good first issue Issue that doesn't require previous experience with codebase labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issue that doesn't require previous experience with codebase type: bug Issue that causes incorrect or unexpected behavior
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant