David Kimura PRO said over 3 years ago on Rails API App - Authentication with JSON Web Tokens :
   Yes, it would probably be the 24.hours.from_now set for the expiration. Personally, I don't think that the JWT token should be a long living one. If the server returns that the token is expired, the consuming app should have a mechanism to validate a new one without user interaction.