[wp-trac] [WordPress Trac] #42715: Incorrect results for http://demo.wp-api.org/wp-json/wp/v2/users/me endpoint

WordPress Trac noreply at wordpress.org
Wed Nov 29 07:22:17 UTC 2017

#42715: Incorrect results for http://demo.wp-api.org/wp-json/wp/v2/users/me
 Reporter:  kishores      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  4.9
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


 Hey @kishores,

 This is working fine for me, and looking at the linked discussion, it
 sounds like you're not properly authenticated to the API - maybe because
 the Authentication plugin you're using isn't fully compatible.

 As this is working fine for me in core, using the cookie/nonce
 authentication (which you should try to get working first) I'm going to
 assume that it's likely the plugin is at fault, in which case reporting
 the issue to https://github.com/WP-API/Basic-Auth is your best method (It
 looks like lots of people have issues with the plugin)

Ticket URL: <https://core.trac.wordpress.org/ticket/42715#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list