Project

General

Profile

Feature #3429

iot管理系统token过期问题优化

Added by zhenyu yu 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
06/14/2024
Due date:
06/17/2024
% Done:

100%

Estimated time:
Defect version:

Description

问题描述:
iot后台开启token验证,web管理页面登录后,到token过期时间时,页面请求失败,强制跳转至登录页。
当前token过期处理方法过于简单,对使用人员不够友好,会出现使用过程中突然请求失败要求重新登录问题。

优化方案:
后台增加刷新token接口,由前端在旧token过期之前获取新token(当前定义前端获取刷新token时间为10分钟)。

History

#1

Updated by zhenyu yu 5 months ago

  • Status changed from New to Resolved
#2

Updated by zhenyu yu 5 months ago

  • Target version changed from IoT v1.1.4 to IoT v1.1.5

Also available in: Atom PDF