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

Comments

@mindctrl
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant