Image processing with wordpress-source-plugin and basic auth causes 401 Unauthorized error #36915
Closed
2 tasks done
Labels
topic: source-plugins
Relates to the Gatsby source plugins (e.g. -filesystem)
topic: source-wordpress
Related to Gatsby's integration with WordPress
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
We currently use the latest version of Gatsby 4 and Wordpress as a source. We use a wordpress instance with a basic authentication on it.
We keep our Gatsby instance updated every week except for
wordpress-source-plugin
which is on version6.9.1
. We've been trying to update it every week but we keep getting error when building on Gatsby Cloud.On the latest version we can run the project locally but it errors on Gatsby Cloud. We get a response code 401 (Unauthorized).
Our config works on version 6.9.1, we use a config like this to set the base auth.
The error we get is the following:
Using basic auth, we can access that url and like I said before, the same thing on version 6.9.1 works.
Reproduction Link
Since this reproduction would require a Wordpress instance, I am not including a repository. I can provide any details that would help
Steps to Reproduce
Expected Result
No error, site builds and processes images from Wordpress.
Actual Result
Once it gets to the processing of images from Wordpress we get this error.
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: