AP.context.getToken() generates 404 after some time from dashboard gadget

Description

I'm unable to refresh JWT token from client on dashboard gadget because AP.context.getToken return 404 status code.

From other hand it works perfectly for main and project page integration.

Steps:
1. open dashboard
2. wait couple of minutes
3. call AP.context.getToken().then(console.log)

Result:
1. no new token provided
2. backend replied with 404

Actually issue is reproduced with any plugin.

Environment

None

Activity

Show:
Rafael Gude
July 7, 2020, 11:30 AM

Hi Tomasz,

The Tempo Tracker dashboard component is also working for me now. Thanks!

Antoine Osanz
June 30, 2020, 9:45 PM

Hi Tomasz,

The Tempo Tracker dashboard component is working for me now, but it’s been on and off for the last few months unfortunately. Recent updates to Chrome also caused it to break and then start working again.

Tomasz Zasada
June 30, 2020, 9:33 PM

Hi
We recently made some changes to dashboards.
Can you confirm is this still the issue?
If yes - then if it is still 404 code behind it? Or maybe something else?
I will appreciate your help.

Eugene Kisel
April 30, 2020, 6:09 AM

Still does not work for Vizydrop dashboards. Rather annoying that you can’t use dashboards more than 15 minutes.

Rafael Gude
February 19, 2020, 12:00 PM

Yes, it’s only with Tempo Tracker dashboard.

Fixed

Assignee

Jakub Trzebiatowski

Reporter

Eugene Kisel