Skip to content

.NET 8 Upgrade Causes Post-Logout Loop in Blazor Server App with Azure AD B2C #52245

Closed
@moshali1

Description

@moshali1

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:
Screenshot 2023-11-21 042320

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.Needs: ReproIndicates that the team needs a repro project to continue the investigation on this issuearea-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions