Account page: sign in again from the two-factor step when the sign-in is too old
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 58/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- csharp
调研方向
Start with admin/src/FluentCMS.Admin/Account/AccountTwoFactor.razor and trace how it handles FCMS3065 and displays Account.TwoFactor.SignInAgainFirst. Then follow the hosted-page authorize flow and account-page return handling to see where prompt=login and resuming enrolment belong. Done means the action returns to the two-factor step with a fresh token, enrolment succeeds, and component and end-to-end tests cover the flow.
由索引模型根据 Issue 内容生成。
描述
Problem
Since #3372 (#3444), POST /me/two-factor/enrol and POST /me/two-factor/verify need a token whose sign-in on the hosted pages is at most ten minutes old; an older one is refused with FCMS3065 (403). The account page (admin/src/FluentCMS.Admin/Account/AccountTwoFactor.razor) now shows a message that says to sign in again (Account.TwoFactor.SignInAgainFirst), and the user has to sign out and in by hand and find the page again.
Proposal
On FCMS3065, offer to sign in again from the page: an authorize request with prompt=login that comes back to the account page, where the enrolment goes on with the new token.
Acceptance
- From the message, one action signs the user in again and returns to the two-factor step of the account page
- An enrolment that follows within the window succeeds, with a component test and an end-to-end case
For workstation A. Follows #3372 and #3444, which made only the smallest change under admin/.
- 主要语言
- C#
- 星标
- 567
- 派生
- 107
- 平均合并
- 1 小时 19 分钟
- 30 天内合并 PR
- 353
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluentcms/FluentCMS 的其他 Issue
-
area:localization plugin type:bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:storage type:bug
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
area:testing type:bug
难度 3/5 1-2 天 新手友好度 72/100
维护者通常 1 天内回复
-
area:api area:publishing type:feature
难度 4/5 3-5 天 新手友好度 55/100
fluentcms/FluentCMS#3473 · 1 条评论 ·
维护者通常 1 天内回复
-
area:storage plugin type:bug
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
查看 fluentcms/FluentCMS 的全部 Issue
相似的 Issue
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently off未关闭bug regression threading
难度 2/5 1-3 小时 新手友好度 74/100
CryptoHives/Foundation#362 ·
维护者通常 1 天内回复
-
bug need-triage
难度 2/5 1-3 小时 新手友好度 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
难度 1/5 1 小时以内 新手友好度 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQ可能已有人在做 @spuddeh 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复