directus / directus

The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.

Home Page:https://directus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web UI: Unexpected Error: INVALID_TOKEN

ppom0 opened this issue · comments

commented

Describe the Bug

Hi!
First thanks for this amazing piece of software, Directus really is an awesome software!

So, I just upgraded from 10.8.2 to 10.11.0.

While loading the Web UI, all I have is an empty screen with this error in the middle:
Unexpected error screen

I could work around this by emptying the cache, but some users of the Directus instance are not comfortable with computers, so I'll tell them the necessary steps (and on Chrome, it's difficult to remove the site data only for a website).

Could the Web UI delete its tokens and present the login UI instead of crashing?

To Reproduce

  • Have a valid session on a Directus 10.8.2 instance
  • Close the tab
  • Upgrade Directus to 10.11.0
  • Reopen a tab to this instance
  • Unexpected error screen

It did happen on instances served on a subpath of a domain. Another instance served directly at root didn't have this issue. Not sure if it's relevant though.

Directus Version

v10.11.0

Hosting Strategy

Self-Hosted (Custom)

Same issue here, exact same setup

Hi there! Thank you so much for the kind words (I forwarded them to the Team ❤️ ) and thank you for opening this issue. We are aware of this and fixes are on the way for example here so I will close this issue.