I have working jwt token in springboot app in backend then I'm used that token react front end app. now I want to backend token expiry time set and stored console...
const decodedToken = jwt_decode(token);
localStorage.setItem("time", decodedToken.exp);
console.log(localStorage.getItem("time"))
Using the above code to retrieve the expiry time in seconds. But it return this code 1661342806.