Skip to content

Refresh token on retry #48

@subzero911

Description

@subzero911

If I get the 401 Unauthorized code, I want to refresh the token first, then to retry the request (with a renewed token).
Is it possible to implement a custom logic on retry?
I can't see any onRetry callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions