[wp-trac] [WordPress Trac] #62577: WordPress Rest API broken in 6.7.1

WordPress Trac noreply at wordpress.org
Wed Dec 11 00:52:24 UTC 2024


#62577: WordPress Rest API broken in 6.7.1
-------------------------------------+------------------------------
 Reporter:  DoingSomeWordpress       |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  REST API                 |     Version:  6.7.1
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:  rest-api
-------------------------------------+------------------------------
Changes (by antonvlasenko):

 * keywords:   => close reporter-feedback


Comment:

 == Reproduction Report

 === Environment
 - OS: macOS 14.7
 - Web Server: Apache 2.x
 - PHP: 8.4.1
 - WordPress: 6.7.2-alpha-59487
 - Browser: Safari 18.0
 - Theme: Twenty Twenty-Four
 - Active Plugins: Simple JWT

 === Actual Results
 - ❌ The `?rest_route=/wp/v2/users/me` REST API endpoint is working.

 === Supplemental Artifacts
 [[Image(https://cldup.com/vQK873r3OQ.png)]]

 === Additional information
 I cannot reproduce this bug.

 @DoingSomeWordpress
 From what I understand while working on this ticket, you need to enable
 auto-login and specify the JWT parameter key (such as `email`) in the
 plugin's settings in order to use the `/me` endpoint.
 This is because your JWT token must contain user information, and existing
 tokens need to be refreshed if they don’t include that information.

 Configuring third-party plugins is beyond the scope of Core Trac, so I’m
 marking this ticket as a close candidate.
 Please feel free to provide any additional information that can help link
 this issue to WordPress Core specifically, rather than the Simple JWT
 plugin, so it can be addressed here. Otherwise, it’s best to contact
 Simple JWT plugin support.
 Thank you for your understanding.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62577#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list