[wp-trac] [WordPress Trac] #63371: nonce issue when using WordPress mobile app in parallel with web

WordPress Trac noreply at wordpress.org
Wed Apr 30 17:45:39 UTC 2025


#63371: nonce issue when using WordPress mobile app in parallel with web
--------------------------+------------------------------
 Reporter:  oferlaor      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.8
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by oferlaor):

 iOS 18.4.1
 Wordpress 6.8
 WP app 25.8

 Steps:
 1. I log in as admin, on both platforms - web (chrome on Mac) and app.
 2. I enter list of posts on chrome desktop
 3. I upload a photo from my phone to the same site using the mobile app
 4. I try something else on the chrome desktop (for example, refresh the
 list of posts <url>/wp-admin/edit.php, or visit the media library <url
 >/wp-admin/upload.php)

 you should see in console the nonce errors

 403: rest_cookie_invalid_nonce

 I downgraded to 6.7.3 (no other changes) and it behaves as expected.

 Key points:
 1. You have to use the same *admin* user
 2. Both have to do something "admin" on both the chrome and the mobile app

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


More information about the wp-trac mailing list