Nonce for “register” not working

[ad_1]

Hi!
I’m trying to register a user via “/api/user/register/?username=<username>&email=<email>&user_pass=<password>&nonce=<nonce>” but I’m getting an error:

{
  "status": "error",
  "error": "Invalid access, unverifiable 'nonce' value. Use the 'get_nonce' Core API method. "
}

Although I’m sending the request after getting the nonce from “/api/get_nonce/?controller=user&method=register”

ENVIRONMENT

  • WordPress 6.4.2
  • Twenty Twenty 2.5
  • JSON API 2.3.0 (from Github)
  • JSON API User 3.9.3

No other plugins are active.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer