Skip to content

Reauthenticate when user performs any operation when session is expired #773

@shashankbrgowda

Description

@shashankbrgowda

When the user performs any operations when the session is expired, they should be redirected to the login page.

Current behavior

Depending on which page the user is browsing we are seeing different behaviors.

  • If the user is in apollo track page and is performing operation from transcript editor, we get success message but in the backend its failing because of unauthorized error. This stale client state happens when user comes back to apollo after some time.
  • If we refresh the page, we will see assembly selection page but assemblies are not displayed.
  • In order to get new session user should open the app in new tab or different window.

Expected behavior

  • If the session is expired and when the user performs any operation or when we refresh the page, we should be redirected to login page to get new session.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions