401 GET when visiting "/" unauthorized #1724

Closed
opened 2020-05-12 11:41:03 +00:00 by worldworm · 2 comments
  1. Log completly out
  2. Visit "https://try.vikunja.io/"

-> A GET Request against "https://try.vikunja.io/api/v1/tasks/all?sort_by[]=due_date_unix&sort_by[]=id&order_by[]=desc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&page=1" is fired

-> "Request failed with status code 401
invalid or expired jwt"

This bug does not apear if you visit "https://try.vikunja.io/login"

I'am not sure If this is a weird caching issue...

1. Log completly out 2. Visit "https://try.vikunja.io/" -> A GET Request against "https://try.vikunja.io/api/v1/tasks/all?sort_by[]=due_date_unix&sort_by[]=id&order_by[]=desc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&page=1" is fired -> "Request failed with status code 401 invalid or expired jwt" This bug does not apear if you visit "https://try.vikunja.io/login" I'am not sure If this is a weird caching issue...
Owner

I'll take a look. I don't think it's a caching issue though.

I'll take a look. I don't think it's a caching issue though.
Owner

Fixed in 0dc4e6b95d - I've changed the way the current tasks are loaded to ensure they are only loaded when the user is logged in.

Fixed in https://kolaente.dev/vikunja/frontend/commit/0dc4e6b95df462164e1acb36693baf3f14dbc5a5 - I've changed the way the current tasks are loaded to ensure they are only loaded when the user is logged in.
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: vikunja/vikunja#1724
No description provided.