devbean / obsidian-wordpress

An obsidian plugin for publishing docs to WordPress.
https://devbean.github.io/obsidian-wordpress
Apache License 2.0
160 stars 22 forks source link

Invalid username/password #87

Open kalico1 opened 3 months ago

kalico1 commented 3 months ago

Hello! Thank you for what looks like a wonderful plugin! I really hope to get it working with my site.

Each time I attempt to publish, I get an error message that says "invalid username or password".

What I've Tried:

Notes:

REST GET https://*****.com/wp-json/wp/v2/users?search=xxx {headers: {…}}headers: authorization: "Basic ZmlvcmVsbGF3eWxkZT*******F3IFN0bmsgZmt0WQ=="[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__() plugin:obsidian-wordpress:80967

REST GET https://*****.com/wp-json/wp/v2/users?search=xxx {headers: {…}}

Thanks in advance for any assistance!

inode- commented 1 month ago

Try my fixed version https://github.com/devbean/obsidian-wordpress/pull/89

jhmonroe commented 1 month ago

I'm having the same issue when using REST API with application password. "Invalid username or password"

When I switch to XMLRPC it works fine, connects, and publishes the post (even using the application password and not the user password)

Any ideas? I looked thru all my security plugins and didn't find anything disabling REST API. (One was disabling XMLRPC at first, but that was easy to turn off)