Make WordPress Core

Opened 17 months ago

#56668 new defect (bug)

REST API calls are failed when cookies are cleared from the site

Reported by: sarathgp's profile sarathgp Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.2
Component: REST API Keywords: needs-patch
Focuses: Cc:

Description

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}}

Change History (0)

Note: See TracTickets for help on using tickets.