[Solved] Is there any way to automatically refresh authentication token on Spring 5?
You can use scheduling in Spring to update it on regular interval (with cron jobs for example). Look at @Scheduled(cron = ”). Also for your token, is there an special reason to keep it in file. Why not use a bean to store it and pass it around with @Autowired? 0 solved Is there any … Read more