Skip to content

Support for persistent offline authentication for SSO/OIDC users (Offline-First SSO) #10526

@raphaelkenyuri

Description

@raphaelkenyuri

Is your feature request related to a problem? Please describe.
In ALMANACH clinical workflows, nurses/CHWs/Doctors operate in zero-connectivity zones for extended periods. Currently, if an SSO/OIDC session expires while offline, the CHT redirects to the Identity Provider (IdP) login page. Since there is no internet, the clinician is locked out of the app, preventing access to life-saving clinical algorithms and patient data.

Describe the solution you'd like

  • Enable Persistent Offline SSO so that users who have logged in online once can continue to access the app offline indefinitely (or for a long configurable period).
  • Offline Token Persistence: Securely store OIDC refresh tokens/sessions locally.
  • Parity: SSO users should have the same offline reliability as native CHT users.

Describe alternatives you've considered

  • Extending Session Cookies: Increasing web session TTLs is insecure, non-compliant with IT security policies

Additional context
This is critical for the ALMANACH project. In remote clinical settings, an SSO timeout is a "system failure" that blocks patient care.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions