Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vladdy-moses
Copy link
Contributor

Fix invalid redirection after 2FA sign-in (#44395)

This PR adds new default event handler for 2FA sign-in standard algorithm.

Description

There is a redundant user redirection when error ocurs during 2FA after IdentityResult.RequiresTwoFactor result for /Account/Login (or other default) page.

Fixes #44395

@ghost ghost added area-identity Includes: Identity and providers community-contribution Indicates that the PR has been added by a community member labels Oct 10, 2022
@ghost
Copy link

ghost commented Oct 10, 2022

Thanks for your PR, @vladdy-moses. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dnfadmin
Copy link

dnfadmin commented Oct 10, 2022

CLA assistant check
All CLA requirements met.

@HaoK
Copy link
Member

HaoK commented Oct 12, 2022

@vladdy-moses once you add some test coverage to this, we can get this fix into 8.0

@adityamandaleeka
Copy link
Member

@vladdy-moses Do you think you'll have time to add test coverage to this PR soon?

@HaoK
Copy link
Member

HaoK commented Nov 3, 2022

Fix looks safe enough to take without tests, thanks @vladdy-moses

@HaoK HaoK merged commit ea1391a into dotnet:main Nov 3, 2022
@ghost ghost added this to the 8.0-preview1 milestone Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-identity Includes: Identity and providers community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid redirect to RedirectUrl on error during 2FA
4 participants