ecrin-github / ecrin-github/rms-portal-new
Allow user to "stay logged in"
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When logging out of the app, LS AAI asks if the user wants to confirm log out "stay logged in". This currently doesn't work because the localStorage auth data is wiped when clicking on "sign out" in the app. Therefore, clicking on "stay logged in" just redirects the user to the app home as they are logged out (locally). This shouldn't be the case.
Note: I've tried to make this work already (with angular-auth-oidc-client) but haven't found a way, not sure it is possible.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the app's logout flow and where its localStorage authentication data is cleared, then inspect the angular-auth-oidc-client integration mentioned in the issue. The fix is complete when choosing "stay logged in" preserves the session and choosing "sign out" still logs the user out locally.
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
- Mostly clear
- Newbie friendliness
- 35/100