System Information
- Strapi Version: v5
- Operating System:
- Database: mysql
- Node Version: v20.3.0
- NPM Version: 9.6.7
- Yarn Version: 1.22.22
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
I have the same issue, did you find a solution?
I saw your issue on github with no response: Constantly Refreshing on Dashboard of Strapi · Issue #23320 · strapi/strapi · GitHub
After digging a little bit it’s a front end issue for me; I tried with another browser and it works. I tried clearing the cookies and the session information; so I don’t know what the exact issue is.