Skip to content

Issue with SSO Logout When Multiple Applications Are Open (AspNetSaml 2.1.2 + ForgeRock) #95

@suhasbhole77

Description

@suhasbhole77

We have an ASP.NET Web Forms application targeting .NET Framework 4.8, and we are using the AspNetSaml 2.1.2 NuGet package to implement SSO across four applications.

SSO Details

  • SAML: SP‑initiated
  • Identity Provider (IdP): ForgeRock
  • All applications share the same IdP session

Current Behavior

  • Login works perfectly for all applications.
  • If we open a new browser window and login to only one application, then perform a logout, it works as expected
  • If multiple applications are opened in the same browser window in different tabs and share the same IdP session:
    • Login works correctly for all applications.
    • Logout does not work properly.
    • After clicking logout, the user is redirected back to the last opened application instead of being fully logged out.

Expected Behavior
User should be logged out from the IdP and all applications when logout is initiated from any one application.

Question
Has anyone faced a similar issue with AspNetSaml 2.1.2 and ForgeRock, especially in a multi‑application SSO scenario?
Any guidance on configuring SAML Single Logout (SLO) or handling IdP sessions correctly would be greatly appreciated.

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions