
董宏凯andCursor
537e2e4d06
fix(登录): token 登录补全 userInfo + 全方式打印路由参数
- 把「拉外部用户信息(yUserId→consumer)」与登录鉴权方式解耦:只要 URL 带
yUserId 就填充 userInfo(含 token 登录,consumer 失败非致命),修复 token
登录后 userInfo 残缺、iframe/轻应用拿不到 yUserId/userName/gateDepartName/
typeName/accessToken 的问题。
- token 登录用 auth.username 写入正确用户名(不覆盖 consumer 已落的 userName)。
- 保留 yUserId 优先级(onlineTicket/toolToken 仅在无 yUserId 时启用)。
- 新增登录路由参数 + 落地结果日志(令牌脱敏),方便排查各登录方式取值问题。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 23:36:33 +08:00
..
2026-06-23 21:47:46 +08:00
2026-06-07 21:20:58 +08:00
2026-06-29 23:36:33 +08:00
2026-06-26 14:36:29 +08:00
2026-06-11 11:31:49 +08:00
2026-06-16 20:57:21 +08:00
2026-06-20 20:18:02 +08:00
2026-06-19 10:19:31 +08:00
2026-06-09 15:48:24 +08:00
2026-06-20 20:18:02 +08:00
2026-06-07 21:20:58 +08:00
2026-06-08 12:33:24 +08:00
2026-06-24 21:20:12 +08:00
2026-05-13 14:36:44 +08:00
2026-06-04 12:40:18 +08:00
2026-06-11 22:58:38 +08:00