Skip to content

Log out when access token expires? #162

@silverpill

Description

@silverpill

Mitra uses access tokens with an expiration time and when a token expires, protected API endpoints start returning 401 Unauthorized. When that happens, Husky stops refreshing timelines but doesn't show any errors, according to reports from the users.

I don't know how other servers handle token expiry, apart from Mastodon which just generates tokens without an expiration date (issue: mastodon/mastodon#26838). If any of them support refresh tokens, or something like that, I could copy their approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions