Azure B2C federated sign out is not complete (identity token is not passed to third party end session endpoint)

Kalle Marjokorpi 1 Reputation point
2021-01-09T13:25:11.993+00:00

I have application which uses Azure B2C as IDP. Azure B2C provides a possible to use local account or federation via OpenIdConnect to third party IDP (Identity Server). I'm using custom policies in B2C. Login works fine but I have issues with sign out. Sign out from federated identity provider is executed but identity token of third party IDP is not passed to the end session endpoint and sign out is not properly executed.

Sign out requests:

GET https://xxxxx.b2clogin.com/xxxxx.onmicrosoft.com/b2c_1a_signup_signin/oauth2/v2.0/logout?post_logout_redirect_uri=https%3A%2F%2Flocalhost%3A44317%2Fsignout-callback-oidc&id_token_hint=xxxxx
GET https://thirdpartyidp.com/idp/connect/endsession <- id_token_hint querystring parameter is missing from here
GET https://thirdpartyidp.com/idp/logout?id=xxxxx
GET https://localhost:44317/signout-callback-oidc?state=xxxxx
I have tested this also with out of box user flow but same problem occurs.

I'm using this technical profile configuration:

I found two-three year old articles that Azure AD B2C does not support signing you out from the external identity provider. According this pretty new article (https://learn.microsoft.com/en-us/azure/active-directory-b2c/session-behavior?pivots=b2c-custom-policy#sign-out) it should be possible if I understood correctly. Azure B2C definitely attempts federated sign out but it's not complete.

Do I have some kind of custom policy configuration problem or what could be the issue?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2021-01-12T23:34:01.063+00:00

    Hi @Kalle Marjokorpi please sent an email to azcommunity@microsoft.com with subject "ATTN: James Hamil" and include your subscription ID and I'll open a support ticket for you.

    Thank you,

    James


  2. Kalle Marjokorpi 1 Reputation point
    2021-01-25T06:50:52.177+00:00

    I got answer from support that passing identity token to third party IDP end session endpoint is not currently supported.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.