And for the username and password, I've passed in both a valid (admin) user, and a valid OAUTH key/secret.
var client = new WordPressClient(apiUri);
client.AuthMethod = AuthMethod.JWT;
await client.RequestJWToken(username, password); // Exception thrown here, I believe
var isValidToken = await client.IsValidJWToken();
if(isValidToken)
{
// Do API things
}
I've attempted to use the example code on the readme page with the following three API URI's:
http://192.168.0.222:8080/wp-json/wp/v2/ http://192.168.0.222:8080/wp-json/wp/ http://192.168.0.222:8080/wp-json/
And for the username and password, I've passed in both a valid (admin) user, and a valid OAUTH key/secret.
What am I doing wrong?