-
Notifications
You must be signed in to change notification settings - Fork 155
Faust gives incorrect error when site is password protected with http basic auth #1850
Copy link
Copy link
Open
Labels
good first issueIssue that doesn't require previous experience with codebaseIssue that doesn't require previous experience with codebasetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
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
- Enable http basic auth on your WP site
- Configure Faust to point to the above WP site
- Run
npm run dev - 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueIssue that doesn't require previous experience with codebaseIssue that doesn't require previous experience with codebasetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Type
Projects
Status
🆕 Backlog