node-wpapi
node-wpapi copied to clipboard
Refresh the nonce
Currently it is possible for the nonces to timeout, it the same nonce is users for a long user session. The nonce should refresh itself by the header provided by core endpoints. See this where it was done in core.
Any news on this? Seems like we have to log the user out all the time just to prevent "Unauthorized" errors.
Thanks to you both for raising this issue. I've been unable to devote time to this project due to personal affairs, but we'll prioritize this once I have the bandwidth.