I have a plugin settings page with multiple tabs that are loaded individually using Ajax requests. I find that after wp-auth-check forces a new login the nonce I use in these requests has expired - rightfully so.
But how do I get a new one? My idea would be to check heartbeat-tick.wp-auth-check
data for being false and then enqueue my own heartbeat request. Is that a good idea or is there another way I am supposed to do it?