Title: Token refresh
Last modified: August 26, 2020

---

# Token refresh

 *  Resolved [robertodev87](https://wordpress.org/support/users/robertodev87/)
 * (@robertodev87)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/token-refresh/)
 * Hi! I really like all the features of this plugin. I would like to know if there
   is a way to set an expiration date (eg 1hour) and then send a refresh token request,
   since I know that refresh tokens are more secure.
 * If not, it could be a good improvement for your plugin.
 * Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/token-refresh/#post-13315762)
 * Hello [@robertodev87](https://wordpress.org/support/users/robertodev87/),
 * First of all, thank you for suggesting new features for this plugin. I will add
   this feature to my todo list.
 * Currently, on `/auth` endpoint you can generate JWT and set an expiration time
   for a JWT. Also, after this token is expired, you can refresh it. Please check
   the section `Authentication`.
 * An expired token can be refreshed on `/auth/refresh`.
 * Best regards,
    Nicu.
 *  Thread Starter [robertodev87](https://wordpress.org/support/users/robertodev87/)
 * (@robertodev87)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/token-refresh/#post-13317437)
 * Hello Nicu, thank you for the answer! I will try to refresh it following this
   procedure.
 * Best regards!
 * Roberto

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Token refresh’ is closed to new replies.

 * ![](https://ps.w.org/simple-jwt-login/assets/icon-256x256.png?rev=2106097)
 * [Simple JWT Login – Allows you to use JWT on REST endpoints.](https://wordpress.org/plugins/simple-jwt-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-jwt-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-jwt-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-jwt-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-jwt-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-jwt-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [robertodev87](https://wordpress.org/support/users/robertodev87/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/token-refresh/#post-13317437)
 * Status: resolved