Skip to content

Prevent auto logout on token expiry when Questionnaire is open #3829

@FikriMilano

Description

@FikriMilano

Context:
SSO and access token lifespan decides when the token expires. If SSO is 60 minutes, and access token is 5 minutes, meaning: The token expires then get refreshed every 5 minutes, until the 60 minutes SSO lifespan has expires too. After 60 minutes, user is required to login again.

Problem:
The app auto logs out the user when access token can no longer refresh, meaning the SSO has expired too. This can happen when user is currently filling a Questionnaire with a patient, causing the data to be lost, and cost them time.

Solution:
Prevent auto logout on token expiry when Questionnaire is open, until user click submit, FHIR resources are extracted, and all resources are saved, and screen goes back to the previous screen.

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