Skip to content

Handle invalid tokens #64

@xuset

Description

@xuset

After a few days, tokens from the api will expire. When they expire and the client sends a request to the api with then invalid token, the server responds with a result: 12. When this happens the login endpoint should be called in order to retrieve a new, valid api token, and the original request should be retried.

I wasn't sure if the ios app already did this or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions