Title: jwt authentication
Last modified: January 27, 2021

---

# jwt authentication

 *  Resolved [Ahmed Hnewa](https://wordpress.org/support/users/ahmedriyadh/)
 * (@ahmedriyadh)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/jwt-authentication-3/)
 * what is the
 * 1- JWT time to live
    1- Refresh time to live
 * if I want to make the token is never be expired
    can?
 * I made the
    JWT time to live to 1 minute but I tested it I waited for 2 minutes
   and it token didn’t expire I tried to validate the token and after 1 minute it
   still returns a Successful response
 * sorry for my bad English and thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/jwt-authentication-3/#post-14302199)
 * Hello [@ahmedriyadh](https://wordpress.org/support/users/ahmedriyadh/),
 * 1. JWT time to live -> how much time a JWT is valid
    2. Refresh time to live -
   > after how much time an expired JWT cand not be refreshed.
 * The plugin checks the `exp` property, in order to see if it the JWT is expired
   or not. If this field is not pressent, than, your JWT will not have an expiration
   date.
 * You can customize the parameters tha you want to have in you JWT paylod, in the
   Authorization tab:
    [https://ps.w.org/simple-jwt-login/assets/screenshot-6.png?rev=2327865](https://ps.w.org/simple-jwt-login/assets/screenshot-6.png?rev=2327865)
 * Just uncheck the “exp”, and generate a new JWT.
 * Best regards,
    Nicu.

Viewing 1 replies (of 1 total)

The topic ‘jwt authentication’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/jwt-authentication-3/#post-14302199)
 * Status: resolved