Skip to content

Feature or Bug?: Log out of the application if multiple windows are open and one of them is inactive. #706

@badinmichal

Description

@badinmichal

I have a multiwindow web application, where I have two or more tabs open simultaneously on different monitors (same browser). The problem is that if I am inactive in one of these tabs for a defined period sessionTimeout, I am logged out of every tab.

features: [
  withAutoRefreshToken({
    onInactivityTimeout: 'logout',
    sessionTimeout: 7_200_000 <- The specific period does not matter.
  })
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions