WP-REST-endpoints-to-admin-bar icon indicating copy to clipboard operation
WP-REST-endpoints-to-admin-bar copied to clipboard

/wp-json/users/me redirects without passing the nonce

Open dnaber-de opened this issue 10 years ago • 1 comments

GET http://wpapi.dev/wp-json/users/me?_wp_json_nonce=cd0d9987f0
HTTP/1.1 302 Found
Cache-Control: no-cache, must-revalidate, max-age=0
Connection: Keep-Alive
Content-Length: 1756
Content-Type: application/json; charset=UTF-8
Date: Wed, 18 Mar 2015 07:30:45 GMT
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Keep-Alive: timeout=5, max=100
Location: http://wpapi.dev/wp-json/users/1
Pragma: no-cache
Server: Apache/2.4.12

Think it is an issue of the WP API itself.

dnaber-de avatar Mar 18 '15 07:03 dnaber-de

Maybe this issue on the API helps others https://github.com/WP-API/Basic-Auth/issues/35

bueltge avatar Jan 02 '17 11:01 bueltge