Conversation
|
🎉 恭喜 @luoqiz,这是您对 ContiNew Admin UI 仓库的首次贡献!我们衷心感谢您付出的努力。 为了保证代码库的完整性和可读性,请您在合并代码之前,确认您的代码符合项目既定的格式规范。关于代码风格和门禁检查的详细说明,请查看仓库中的 AGENTS.md。 如有任何疑问,或希望获得更详细的说明,欢迎随时留言交流。此外,诚挚邀请您加入官方交流群,与项目维护团队及其他大佬用户实时交流探讨、获取第一手项目动态(入群方式详见 continew.top/discussion.html)。再次感谢您的宝贵贡献! |
15 tasks
luoqiz
force-pushed
the
feat-refresh-token
branch
2 times, most recently
from
September 9, 2026 06:04
b98101d to
e294648
Compare
luoqiz
force-pushed
the
feat-refresh-token
branch
2 times, most recently
from
September 20, 2026 05:06
0a19eb7 to
4d5d86e
Compare
luoqiz
force-pushed
the
feat-refresh-token
branch
from
September 20, 2026 05:07
4d5d86e to
fbd9efc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更类型
破坏性变更
变更目的
适配后端 Refresh Token 会话机制:浏览器在 Access Token 过期后可安全刷新登录态,并在 Refresh Token 失效时统一清理前端会话;同时支持客户端 Refresh Token 策略配置与在线会话管理展示。
暂无关联 Issue。
解决方案
测试情况
pnpm lint通过。pnpm typecheck通过。pnpm build通过(仅有既有大体积产物提示)。Changelog
提交前确认
pnpm lint、pnpm typecheck、pnpm build三道门禁全部通过(被 lint 拦截时使用pnpm lint:fix修复)Assisted-by: <智能体>标记评审修复与发布协调
pnpm-workspace.yaml构建许可文件。必须与 continew-admin#229 同时合并和同步发布:新 UI 依赖后端刷新接口,新后端依赖 UI 读取
accessToken字段。跨域部署说明(withCredentials)
前端 HTTP 层已全局开启
withCredentials: true(Refresh Token 由后端写入 HttpOnly Cookie,浏览器必须以凭据模式发送请求):/api转发、开发环境 Vite proxy)不受影响,无需额外配置。continew-starter.web.cors.enabled: true并精确配置allowed-origins(带凭据的 CORS 不允许*,且必须与auth.refresh-token.cookie-allowed-origins白名单保持一致)。