How to avoid that token expires?
-
Hey! Great Plugin. I’m building a custom admin tool where users can save data into custom post types. It’s all Ajax based. So i placed the token into my JS file and it’s working great!
The only thing is: The token expires after 3600s – So i have to regenerate a new one over and over again. And the tool isn’t in use 24/7 so i’m not able to always trigger a refresh function before the token expires. How can i avoid this? I need to be able to have a token that doesn’t expires or that refreshes automatically without firing a refresh action (through JS) every 60 minutes.
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to avoid that token expires?’ is closed to new replies.