
董宏凯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-14 19:30:54 +08:00
2026-06-29 17:39:52 +08:00
2026-05-14 17:24:45 +08:00
2026-06-15 18:16:06 +08:00
2026-06-29 23:00:31 +08:00
2026-05-28 18:28:49 +08:00
2026-06-18 16:52:59 +08:00
2026-06-29 16:44:13 +08:00
2026-06-29 23:36:33 +08:00
2026-06-29 16:44:13 +08:00
2026-05-28 17:14:01 +08:00
2026-06-29 16:59:23 +08:00
2026-06-29 23:00:31 +08:00
2026-06-23 12:36:36 +08:00
2026-06-19 10:19:31 +08:00
2026-06-23 17:46:08 +08:00
2026-06-09 15:48:24 +08:00
2026-06-19 12:02:36 +08:00
2026-05-13 14:36:44 +08:00