-
Bug
-
Resolution: Done
-
Critical
-
3.0.0.GA
-
False
-
None
-
False
-
Not Required
-
Workaround Exists
-
Steps to reproduce:
1. Install Dev Spaces 3.0.0.
2. There is 30 minutes token timeout in OCP by default.
To configure 5 minutes timeout in OCP cluster settings
oc patch OAuth/cluster -p '{ "spec": { "tokenConfig": { "accessTokenInactivityTimeout": "5m" }}}' --type merge
3. Go to Dashboard page, login into as OpenShift user.
4. Wait 5 minutes on OpenShift login session to be expired.
5. Go to Dashboard page again.
Actual behavior: Dashboard has shown "401 Unauthorized" error page in when OCP OAuth session is expired:
There was also completely empty page:
Expected behavior: Dashboard to redirect to OCP OAuth page.
Note: I have been experiencing this error more than 10 times per day verifying Dev Spaces between the meetings 30 minutes long on OCP 4.10 with 30 minutes token inactivity timeout by default.
- relates to
-
CRW-3060 Empty page in Dashboard when OCP OAuth session is expired
- Resolved
- links to