Description of problem:
Auth-refresh (when OCP token expires) implemented in RHODS-5931 seems not working in Firefox. The fix leverages on "session storage" to store odh.dashboard.last.auto.refresh (last auto refresh), but Firefox browser doesn't store that value.
That's what i see in the browser console:
When running in Chrome, it shows a date properly.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- make the Openshift Oauth expiring in 2 minutes (not to wait 24hours)
- log in RHODS Dashboard with a basic user user1
- create a DS project and wait until token expires the first time
keep waiting for other 2 minutes to make the second expiration happening in one hour
Actual results:
- result for step 3: After 2 minutes, I started seeing errors in the dashboard UI: see image "start-failing.png"
- result for step 4: nothing happens (ok)
Expected results:
- result for step 3: the dashboard automatically reloads
- result for step 4: nothing happens
Reproducibility (Always/Intermittent/Only Once):
Always using Firefox browser
Build Details:
RHODS v1.21.0-21
Workaround:
reload the page
Additional info:
- is related to
-
RHODS-5931 Logout screen is causing friction
- Closed