Skip to content

Api Token Timeouts #20

@QuinnBast

Description

@QuinnBast

If the user has been online for over an hour their token will expire. This will cause all network requests to start returning a 403 Unauthorized status code. Work with the unity & core repositories to catch this status code and if the status code is thrown, attempt to refresh the user's session automatically.

Could potentially be done by making the Api object remember the user's credentials when they login and whenever a 403 is caught anywhere other than the login endpoint try to log the user in, get a new session token, and try their request again.

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