sourcefuse / backstage

2 stars 0 forks source link

feat(core): autologout due to inactivity #156

Closed sadarunnisa-sf closed 1 month ago

sadarunnisa-sf commented 1 month ago

Implement logout feature so that after a preconfigured duration of inactivity user should be logged out automatically.

ARC-154

Description

Implement auto logout so that after certain interval of time, portal should prompt and automatically log out. Implement logout feature so that after a preconfigured duration of inactivity user should be logged out automatically. Added autologout feature using 'Autologout' component from 'backstage/core-components' package. We can not upgrade 'backstage/core-components' package as it breaks other core functionality. So just picked 'Autologout' component from 'backstage/core-components' package. After 30 minutes, due to inactivity , it would prompt and then logout. image

Fixes # (issue) https://github.com/sourcefuse/backstage/issues/154

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud