.NET 8 Upgrade Causes Post-Logout Loop in Blazor Server App with Azure AD B2C #52245
Labels
area-blazor
Includes: Blazor, Razor Components
Needs: Attention 👋
This issue needs the attention of a contributor, typically because the OP has provided an update.
Needs: Repro
Indicates that the team needs a repro project to continue the investigation on this issue
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary:
After upgrading a Blazor server application from .NET 7 to .NET 8, which utilizes Azure AD B2C for authentication, a post-logout loop issue is occurring. This looping behavior during logout did not occur with .NET 7. The application handles login and other operations correctly when logged in, but fails to complete the logout process, resulting in a loop. This issue is distinct from previously reported issues #50725 and #51005, which were related to login problems.
Current Blazor Setup:
The application is configured for global interactivity, with render modes placed in HeadOutlet and Routes.
Logout Process:
The issue arises when using the Sign Out link, which is directed to /MicrosoftIdentity/Account/SignOut.
Screenshot for Reference:

The text was updated successfully, but these errors were encountered: