小朋友
小朋友
  • 发布:2024-07-03 22:07
  • 更新:2024-07-04 16:40
  • 阅读:231

uni-admin 注册管理时提示 Config error, tokenExpiresThreshold should be less than tokenExpiresIn

分类:uniCloud

uni-admin 注册管理时提示 Config error, tokenExpiresThreshold should be less than tokenExpiresIn
不清楚哪里的问题,数据库里面删除了 注册的管理员,然后再重新注册,点击注册,就报这个错误。但是看了数据库里面注册成功了,但是没有token这个字段。请教下应该怎么解决

2024-07-03 22:07 负责人:无 分享
已邀请:
DCloud_uniCloud_VK

DCloud_uniCloud_VK

检查uni-id配置 /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json

里面的tokenExpiresThreshold 必须 <= tokenExpiresIn/2 的值

修改完,上传下uni-config-center

小朋友

小朋友 (作者) - 规范化广泛的

谢谢 已经解决了

要回复问题请先登录注册