Skip to content

[suggestion] Prompt admin to revalidate session as it nears TTL #14

@rhoerr

Description

@rhoerr

Continue session

With PCI 4 requiring a session lifetime of 15 minutes or less, it would be very useful to (1) warn admins when they're getting near it on an open tab, and (2) allow them to renew it and continue their session.

Something like

Image

This would be useful for cases where the admin might reasonably take longer than 15 minutes to perform an action -- like editing a product or content page, or working on an admin order in the background.

If this is done, it should share and track the session expiry state in browser session storage (or similar) so it can work across tabs. Loading a new tab should update the timer on existing tabs. Clicking 'continue' in one tab should update the timer on others.

Reauthenticate

A possible further enhancement would be to show a login overlay on top of the page once the 15 minutes passes, to allow the admin to re-log in and then continue in the page where they left off. This would require somehow refreshing all the URL hashes in the page based on the new admin session ID/key.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions