node-wpapi icon indicating copy to clipboard operation
node-wpapi copied to clipboard

Refresh the nonce

Open spacedmonkey opened this issue 8 years ago • 2 comments

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.

spacedmonkey avatar Dec 07 '17 14:12 spacedmonkey

Any news on this? Seems like we have to log the user out all the time just to prevent "Unauthorized" errors.

jhourlad avatar Jan 28 '18 22:01 jhourlad

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.

kadamwhite avatar Feb 13 '18 15:02 kadamwhite