UI refreshes token too often

Description

Currently refreshing every minute. I see LAST_ACTIVITY and TOKEN_EXPIRATION are updated appropriately in local storage, and (1000 * 60 * duration) should take care of it, but regardless it’s still refreshing consistently every minute regardless of activity.

Activity

Show:

Bug Clerk July 19, 2024 at 8:12 PM

Bug Clerk July 18, 2024 at 5:03 PM

Zack July 16, 2024 at 1:49 PM

Occasional 401 seen on auth/refresh, see also

{ "id": 1, "updated_at": "2024-07-12T14:46:06.489143003Z", "log_entry": "Http failure response for http://tcbuilds01.tys1.ixsystems.net:37801/api/v1/auth/refresh: 401 Unauthorized" }

Zack June 21, 2024 at 2:47 PM

There are two options from here. One is to address the frequency of restarts and the expiry check, the other is to handle it differently in the refresh endpoint to supply to avoid having to re-login with the new token, if that's secure

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created June 20, 2024 at 8:54 PM
Updated July 19, 2024 at 8:26 PM
Resolved July 19, 2024 at 8:26 PM