wp-json not giving invalid_application_credentials
-
So in a setup using both this and https://wordpress.org/plugins/application-passwords/
I’m expecting the filter explained in the documentation of application-passwords (https://github.com/WordPress/application-passwords/blob/0.1.2/readme.txt#L35-L50) to be required to be able to use application-passwords when making requests to/wp-json/. However, the requests are still working and I’m worried that two-factor is not enforced on all requests. The user I’m using has two-factor via email setup, and thus the API should be disabled as far as I can understand. I’m usingcurl --user "my.user:my app password" https://example.com/wp-json/wp/v2/users/meto test the app passwords.I added logging to the
filter_authenticatemethod in an attempt to figure out what was happening. The logging is happening when logging in viawp-loginbut not when making wp-json requests.
The topic ‘wp-json not giving invalid_application_credentials’ is closed to new replies.