There should be two fields in the DB, one for time, and one for keys, Key1 and Key2 specifically.
If time is more than 1 hours, Key1 becomes Key2, and Key1 is generated.
Add to the decodeJWT function, to get the two tokens and try them both for decoding.
There should be two fields in the DB, one for time, and one for keys, Key1 and Key2 specifically.
If time is more than 1 hours, Key1 becomes Key2, and Key1 is generated.
Add to the decodeJWT function, to get the two tokens and try them both for decoding.