Single Logout between one OpenId App and Saml App

Roshan Tolwani 26 Reputation points
2022-04-28T15:27:39.987+00:00

Hi All,

We have created one Web App(using ASP.NET Core 3.1) that uses Open ID protocol to authenticate with Azure AD B2C.
and one another web app that uses SAML protocol to authenticate with Azure AD B2C( https://learn.microsoft.com/en-us/azure/active-directory-b2c/saml-service-provider?tabs=windows&pivots=b2c-user-flow )

We want to achieve SLO ( Single Logout) between these two apps i.e if user sign out from one app it should automatically sign you out from other app.

Is it possible? If yes, how to achieve the same. We are using custom policies for sign up and sign in.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,929 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. 2022-04-30T00:49:14.18+00:00

    Hello @Roshan Tolwani , SLO is possible in Azure AD B2C. The protocol (OIDC or SAML) do not matter as they rely on the same mechanism and resources for managing the user session. Please follow the steps detailed in Configure your custom policy and let us know if you need additional assistance.


  2. Randy Wiemer 1 Reputation point
    2022-08-05T20:39:31.6+00:00

    After more experimenting I have gotten SLO to work between OIDC and SAML apps. It only works when the policies share a common base file. If the SAML and OIDC policies are wholly independent then SLO fails but if they share a base it works. This is in spite of the SSO scope to be Tenant.