• Resolved sahava

    (@sahava)


    When logged out of WordPress, interacting with the plugin generates a 403 error on /wp-admin/admin-ajax.php –?you can see this for example here: https://handbook.teamsimmer.com/the-web-browser/what-is-the-web-browser/ – if you browse down past the content to where the Helpful plugin is and try to click the smiley face, you should see a 403 error.

    Is this an issue with the plugin or something to do with CDN / Firewall or something?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sahava

    (@sahava)

    Upon testing, it looks like this is a caching issue. I’m using Kinsta + Cloudlfare to cache the content pages where this plugin is running. Cache is disabled for logged-in users, which is why the error doesn’t show up then. Is there a workaround here that doesn’t involve disabling the cache entirely for content pages?

    Does the plugin use a nonce or a token for validating requests? If so, what is the lifetime of that token? I’ll make sure the cache on the site matches that lifetime.

    • This reply was modified 7 months, 2 weeks ago by sahava.
    Plugin Author DAEXT

    (@daext)

    Hello sahava,

    I confirm that the plugin uses a nonce to validate the requests. The nonce is valid for 24 hours. Regenerating the page HTML after 24 hours will solve.

    Let me know if you have other questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘403 error with admin-ajax.php for logged out users’ is closed to new replies.