-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Closed
Copy link
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-server-auth
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When using the current (8.0-rc2) scaffold for the new Blazor Identity Pages trying to add another external login to an existing account results in an infinite redirect loop.
The problem appears to be that the call to "RedirectManager.RedirectToCurrentPageWithStatus" does not purge the action from the redirect, causing "OnGetLinkLoginCallbackAsync" to repeatedly call itself, fail because there is no context, and loop back into itself until the user aborts.
The backoffice tasks of adding the login actually works fine.
Expected Behavior
Being sent back to the page with what ever Status is given in the redirect.
Steps To Reproduce
- Create a Blazor Project with the new Blazor Identity Pages.
- Add two external login providers.
- Log in with one of them
- Try to connect the other
Exceptions (if any)
No response
.NET Version
8.0.0-rc2
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-server-auth