From 3f3ef3eaf68f16dbe2ae6081af9c724c3a955b27 Mon Sep 17 00:00:00 2001 From: Tobin Date: Sat, 13 Sep 2025 13:02:16 +0100 Subject: [PATCH] Update authentication.md Clarified based on experience --- using-the-rest-api/authentication.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/using-the-rest-api/authentication.md b/using-the-rest-api/authentication.md index af75a89..83ee6e6 100644 --- a/using-the-rest-api/authentication.md +++ b/using-the-rest-api/authentication.md @@ -67,6 +67,8 @@ For a simple command-line script example, just swap out USERNAME, PASSWORD, and curl --user "USERNAME:PASSWORD" https://HOSTNAME/wp-json/wp/v2/users?context=edit ``` +Note: The `USERNAME` is your user's username; NOT the `name` of the Application Password. + ## Authentication Plugins Plugins may be added to support alternative modes of authentication that will work from remote applications. Some example plugins are [OAuth 1.0a Server](https://wordpress.org/plugins/rest-api-oauth1/) and [JSON Web Tokens](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/).