Recognition

No awards yet.

Posts

3 Posts
  • Published Answer

    Jwt suddenly stops working on protected route

    I have resolved the issue. I was setting the expiry date at the global context as a constant variable. Thanks
    By asmelitus
  • Published Answer

    Jwt suddenly stops working on protected route

    const handleJWT = async (req, res, next) => async (err, user, info) => { const error = err || info; const logIn = Prom...
    By asmelitus
  • Published Question

    Jwt suddenly stops working on protected route

    I am running Nodejs API application on the droplet. I was able to login to my app and access the protected route. But on accessing the route the following day, I started getting TokenExpiredError: jwt expired on acces...
    4 By asmelitus Node.js API