Support » Plugin: Simple JWT Login - Login and Register to WordPress using JWT » expiring url
2 years, 4 months ago
is there a way for the URL to expire in 30 seconds and generate a new one? (OR $timestamp)
Thank you! 🙂
Have nice day!
You JWT has a property called iat and you can generate JWT that is valid only for 30 seconds.
This way, your URL will be valid only for 30 seconds and after that, you will get an error “Expired JWT”.
in the meantime i found it, tested it and it works perfect! 🙂
Your plugin and support are great too!
Thank you very much!
I’m glad to hear that you found a solution.
Please don’t forget to rate this plugin.