Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saml custom policy logout url #68

Open
ssahon opened this issue Jun 5, 2020 · 0 comments
Open

saml custom policy logout url #68

ssahon opened this issue Jun 5, 2020 · 0 comments

Comments

@ssahon
Copy link

ssahon commented Jun 5, 2020

Hello I'm trying to integrate zendesk and azure b2c using custom policies with SAML flow

So I followed documentation described here https://docs.microsoft.com/en-us/azure/active-directory-b2c/connect-with-saml-service-providers

I modified NameId to use email. So login works fine and I can reach zendesk SP.
The only issue left that I cannot find documentation how to configure logout url on service provider side. I took logout url from policy metadata, it looks like:
https://tenant.b2clogin.com/tenant.onmicrosoft.com/B2C_1A_signup_signin_saml/samlp/sso/logout
unfortunately when Service Provider redirects to this endpoint it complains about missing session index. it is true that saml logout request does not contain session index and I configured session management provider not to include session index

<TechnicalProfile Id="SM-Saml-issuer">
		  <DisplayName>Session Management Provider</DisplayName>
		  <Protocol Name="Proprietary" Handler="Web.TPEngine.SSO.SamlSSOSessionProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
		  <Metadata>
			<Item Key="IncludeSessionIndex">false</Item>
			<Item Key="RegisterServiceProviders">false</Item>
		  </Metadata>
		</TechnicalProfile>

so what is the proper way to handle logout with SAML?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant