Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Expired or invalid login token breaks site #12

@mikeskydev

Description

@mikeskydev

If a login token is expired or invalid, the site will crash as it attempts to load /users/me and the homepage assets.
image

Steps to reproduce:

  • Create or modify the user cookie to an invalid token {"token":"INVALID_TOKEN","token_type":"bearer"}
  • Navigate to any page on the site
    Expected result: Page Loads
    Actual result: Some elements load, but once anything attempts to acces /users/me or anything else that passes the bearer token, it crashes and goes to a grey screen.

Reproduced on Chrome v91.0.4472.164 Win64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions