How to refresh jwt token In mobile and web app

How to refresh jwt token in following senarios (meeting is ongoing)
Web:-

  1. User pressed refresh button. Meeting will reload with old jwt and throwing jwt epired error
  2. If user lost network … after some 3 mins if networked is back again we are showing rejoin now button in that case on click of it we will join meeting with older jwt… there is possibility token is expired

Mobile

  1. In mobile app if network lost and after some 3 mins if network is back again … we are showing rejoin now button how to handle refresh jwt here ??

Please explain it in detail

There is no built-in solution for this kind of use. You should build your own solution. An easy solution may keep the expire time much longer…

This part is not related in the expire time. There is no token in the request URL when refresh is clicked