Account page: sign in again from the two-factor step when the sign-in is too old
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 58/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- csharp
- Domaine
- authentication, frontend, testing
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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/.
- Langage dominant
- C#
- Étoiles
- 567
- Forks
- 107
- Merge moyen
- 1 h 19 min
- PR mergées (30 j)
- 353
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fluentcms/FluentCMS
-
area:localization plugin type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:storage type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Les mainteneurs répondent en général sous 1 jour
-
area:testing type:bug
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
area:api area:publishing type:feature
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
fluentcms/FluentCMS#3473 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:storage plugin type:bug
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fluentcms/FluentCMS
Issues similaires
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offOuvertebug regression threading
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
CryptoHives/Foundation#362 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: 本地歌词翻译显示错误Ouvertebug need-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQPeut-être pris @spuddeh l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour