cloudfoundry / cloudfoundry/stratos
Auto log out ux seems to fail when tab is not visible
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
- Still trying to track down steps to reproduce, but it's something like
- Open stratos and log in
- go to another tab or possibly lock desktop
- wait until enough time has passed for automatic log out process to complete (inactivity time + warning dialog + refresh time)
- go back to tab/unlock desktop
- the warning dialog will show
- click on 'ok/yes i'm here' button
- console will try to verify session, fail and then refresh
- It's almost like the inactivity timer OR timer in warning dialog is paused
- If the console is left on a page with automatic polling (metrics chart, app pages) you can see the 401 responses in the network tab/jetstream logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sequence: leave Stratos or lock the desktop through automatic logout, then inspect the warning dialog, session verification, refresh behavior, and any 401 responses in the network tab or Jetstream logs. Done means the inactivity and warning timers complete correctly while the tab is hidden, and confirming activity no longer causes a failed session check and refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100