Account page: sign in again from the two-factor step when the sign-in is too old
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 58/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- csharp
- Bereich
- authentication, frontend, testing
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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/.
- Vorherrschende Sprache
- C#
- Sterne
- 567
- Forks
- 107
- Ø Merge
- 1 Std. 19 Min.
- Gemergte PRs (30 T.)
- 353
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fluentcms/FluentCMS
-
area:localization plugin type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:storage type:bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:testing type:bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:api area:publishing type:feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
fluentcms/FluentCMS#3473 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:storage plugin type:bug
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fluentcms/FluentCMS
Ähnliche Issues
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offOffenbug regression threading
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
CryptoHives/Foundation#362 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: 本地歌词翻译显示错误Offenbug need-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQEvtl. vergeben @spuddeh hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag