You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is basic authentication working? I tried testing a request to /wp-json/wp/v2/users/me but got the error:
( ! ) Fatal error: Uncaught GuzzleHttp\Exception\ClientException:
Client error: `GET http://[...]/wp-json/wp/v2/users/me`
resulted in a
`401 Unauthorized`
response:
{"code":"rest_not_logged_in","message":"You are not currently logged in.","data":{"status":401}}
in [...]/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 111
https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/#authentication-plugins
https://github.com/WP-API/Basic-Auth
How can use a more secure authentication protocol for production?
The text was updated successfully, but these errors were encountered: