Skip to content

No indication on the app that JWT token has expired #84

Open

Description

@AnkushMalaker

When the JWT token expires, there are connection failures that don't make it clear that its an auth failure.
We should check if JWT token is valid, and if not, use saved creds to login. If login is not done, prompt user to press login again, with saved creds. Currently the saved creds are removed if we press logout I believe.

Secondly, when any failure occurs due to auth failure, automatic regeneration of JWT key should be done.

Activity

  1. aykansal commented on Sep 18, 2025

    @aykansal

    hey, just confirming if this issue is still open?

  2. megandas commented on Sep 22, 2026

    @megandas

    Hi! I'd like to work on this issue.

    I'll look into handling expired JWTs gracefully by detecting authentication failures, attempting automatic re-authentication when possible, and prompting the user to log in again if re-authentication isn't possible.

    Please let me know if anyone is already working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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