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.
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)
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
[ ] Test A
[ ] Test B
Checklist:
[X] Performed a self-review of my own code
[X] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules
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](https://github.com/sourcefuse/backstage/assets/109595269/50964864-89b0-43d5-9a70-7bc673676ce0)
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: