Not redirecting to login page on invalid token #28

Open
opened 2020-11-02 08:10:14 +00:00 by koloml · 1 comment

I've removed my current Carbon token from sessions list in Element. So now token, saved in LocalStorage is not valid and any request to Matrix instance failing with M_UNKNOWN_TOKEN error:

{
	"errcode": "M_UNKNOWN_TOKEN",
	"error": "Unrecognised access token",
	"soft_logout": false
}

Carbon fails and not redirecting me to the login page:

Uncaught (in promise) TypeError: Cannot read property 'events' of undefined
    at manageSync (bundle.js?static=548bd1a708:1014)
I've removed my current Carbon token from sessions list in Element. So now token, saved in `LocalStorage` is not valid and any request to Matrix instance failing with `M_UNKNOWN_TOKEN` error: ```json { "errcode": "M_UNKNOWN_TOKEN", "error": "Unrecognised access token", "soft_logout": false } ``` Carbon fails and not redirecting me to the login page: ```trace Uncaught (in promise) TypeError: Cannot read property 'events' of undefined at manageSync (bundle.js?static=548bd1a708:1014) ```
Owner

Yeah, this is known. It'll probably be addressed when the site structure is changed to have a homepage, docs pages, and a better way of navigating around everything.

Yeah, this is known. It'll probably be addressed when the site structure is changed to have a homepage, docs pages, and a better way of navigating around everything.
jboi added the
bug
label 2020-11-12 12:26:54 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cadence/Carbon#28
No description provided.