[wp-trac] [WordPress Trac] #56668: REST API calls are failed when cookies are cleared from the site

WordPress Trac noreply at wordpress.org
Tue Sep 27 14:46:34 UTC 2022


#56668: REST API calls are failed when cookies are cleared from the site
--------------------------+-----------------------------
 Reporter:  sarathgp      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  6.0.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 REST API calls are failed when the site cookies are cleared from browser
 console. Manually logging out and Logging in again will fix the issue but
 WordPress should automatically prompt for login in such cases right ?
 Please Ignore if I am wrong.

 Response from API:
 {{{
 {"code":"rest_cookie_invalid_nonce","message":"Cookie check
 failed","data":{"status":403}}
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56668>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list