Dashboard constantly refreshing

System Information
  • Strapi Version: v5
  • Operating System:
  • Database: mysql
  • Node Version: v20.3.0
  • NPM Version: 9.6.7
  • Yarn Version: 1.22.22

As the title suggests the Strapi Dashboard keeps refreshing its self. I havnt timed it but its every few minutes. I will be in the middle of something, creating a table etc and the whole page refreshes losing what I had been doing. This is in develop. I have GraphhQl playground running not sure if its something to do with that. No code is changing and no updates taking place. so no need for the refresh. really annoying.

I have narrowed the problem down to the JWT token refresh. I have updated the auth code in the config/admin.ts file to the following:

auth: {
    secret: env('ADMIN_JWT_SECRET'),
    options: {
        expiresIn: '7d', // Set the token expiration to 7 days
      },
  },

Rebuilt and restarted but it is still the same. Does anybody have any other ideas? In develop I can put up with it but if it happens in production its unacceptable.
Thanks

Try to check the repository for any acknowledged related issues, you could open a new one too.

Good call. Somebody has the same issue. I will go there next time before posting here.
Thanks