Application password issue
-
Hello.
Application password does not work for me with WordPress 6.4.1.
I had a default installation, with twentytwentyfour theme and no plugins except default akismet and hello ones.
I use php 8.0.25 and nginx 1.22.1 as webserver.
I created application password, used my admin username and application password with following querycurl -i -X POST -d '{ "title": "New Article Title", "content": "Your article content goes here.", "status": "draft" }' -H 'Content-Type: application/json' -u adminuser:application_pass https://domain.com/wp-json/wp/v2/posts/But got an error
{"code":"incorrect_password","message":"<strong>Error:<\/strong> The password you entered for the username <strong>adminuser<\/strong> is incorrect.
I found this thread https://ww.wp.xz.cn/support/topic/application-passwords-no-longer-authenticating/ and tried to downgrade WP to 6.3.1 – application password started to work, I created post successfully without changing access details, using same request.curl -i -X POST -d '{ "title": "New Article Title", "content": "Your article content goes here.", "status": "draft" }' -H 'Content-Type: application/json' -u adminuser:application_pass https://domain.com/wp-json/wp/v2/posts/
HTTP/1.1 201 Created
To check further, upgrade to 6.3.2 broke application password again, so the change should be between 6.3.1 and 6.3.2, as written in mentioned post.
No server settings were changed, only WP version. That’s why I think the issue is not directly server-side. However it may be that WordPress core had some changes after 6.3.1 that require specific webserver or other settings, that I miss.Any help is appreciated. Thank you.
The topic ‘Application password issue’ is closed to new replies.