• Resolved trentguillory

    (@trentguillory)


    After following the steps on the authentication instructional page, JSON API tells me I need to use a nonce with my posts (which your examples don’t suggest), and when I include the nonce along with the cookie Auth generated, it returns “Your ‘nonce’ value was incorrect. Use the ‘get_nonce’ API method.”

    I’ve tried using both the nonce created by the get_nonce method and your authentication method, but neither work. They just say it’s incorrect and I can’t post.

    To add some clarity: The first two steps in your directions seem to be working. I successfully created a nonce and then successfully created a cookie with that nonce, but then when I try to post it tells me a) I need a nonce and b) the nonce I provide is incorrect.

    I appreciate the support!

    https://wordpress.org/plugins/json-api-auth/

Viewing 1 replies (of 1 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    Hi,

    This plugin allows you to generate user authentication cookie that you can later use for other tasks by creating your own endpoints where you need to identify user.

    JSON API plugin does not use this cookie value anywhere.

    For you, a better approach will be to use ‘JSON API User’ plugin. You will understand quickly what’s the purpose of generated cookie.

    Please see documentation of JSON API User notes.

Viewing 1 replies (of 1 total)
  • The topic ‘Your 'nonce' value was incorrect."’ is closed to new replies.