Skip to content

Issue: Improve UX for failed login attempts due to expired refresh tokens #1349

@nooreldeenmansour

Description

@nooreldeenmansour

Authentication with the local password fails if the refresh token expired, with the error message stating failed to refresh token, the logs show:

Failed to refresh token: oauth2: "invalid_grant" "AADSTS700082: The refresh token has expired due to inactivity

The user won't be able to login unless they disable their network connection, or do the device authentication flow to obtain a new refresh token.

Related #998, for network-related failures, users should be able to login with their local password. But for an actual expiry of a refresh token. Users should be prompted to redo the device authentication flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions