culturecreates / footlight-app

Footlight CMS Front-end
https://cms.footlight.io
3 stars 0 forks source link

User gets struck on loading page when CMS is accessed with expired access token and refresh token. #1158

Closed SyamBabu-M closed 3 months ago

SyamBabu-M commented 3 months ago

User is struck on the loading screen if both the access token and the refresh token is expired. In ideal case user must be logged out and CMS must route itself to login page.

Image

SyamBabu-M commented 3 months ago

@AbhishekPAnil @troughc Steps to reproduce and test.

Step 1: Go to Cookies corrupt the refresh and access token of the user. Step 2: Clear local storage. Step 3: Reload.

User will be struck in an endless loading screen after following the above steps.