on 2022 Oct 27 8:06 PM
Goal
I'm trying to set up SSO via SAML between SAP IAS as the Identity Provider and Zendesk as the Service Provider without an additional Corporate Identity Provider (i.e. IAS is used for Identity Authentication).
Status
I've been able to get the sign on (SSO) part working but can't figure out what the proper sign out (SLO) URL should be so that Zendesk can trigger a logout in IAS. This means that when a user signs out they aren't fully signing out from IAS and therefore aren't asked for their credentials again if they go to login again. This also means that depending on what page they are on when they logout, it may trigger a login request to IAS and they are automatically logged back in; effectively meaning they can't logout at all.
Setup
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EntityDescriptor entityID="https://yoursubdomain.zendesk.com" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
<SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<AssertionConsumerService index="1" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://yoursubdomain.zendesk.com/access/saml"/>
</SPSSODescriptor>
</EntityDescriptor>
Issue
<?xml version="1.0"?>
<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="samlr-84627475-d4a8-46da-9a6a-7feb2bf0bad0" IssueInstant="2022-10-27T15:44:24Z" Version="2.0">
<saml:Issuer>https://yoursubdomain.zendesk.com</saml:Issuer>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">email@domain.com</saml:NameID>
</samlp:LogoutRequest>
URL's I've Tried
https://IAS_TENANT.accounts.ondemand.com/saml2/idp/slo/IAS_TENANT.accounts.ondemand.com
https://IAS_TENANT.accounts.ondemand.com/saml2/idp/slo?sp=SP_ID
Based on this help article (https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/9dba751c208f4435a711c26b20945980.html) as well as following some of the SAML flows for subdomain we have setup it appears they call the https://IAS_TENANT.accounts.ondemand.com/saml2/idp/slo/IAS_TENANT.accounts.ondemand.com URL but then are redirected to a URL in the form of https://SUBDOMAIN.authentication.REGION.hana.ondemand.com/saml/SSO/alias/ALIAS. Per the article this URL is automatically generated in the subaccount and included as part of the SAML metadata for that subaccount. What I'm thinking/hoping is that there's a similar URL to use for Charged Application setups?
Request clarification before answering.
kubiani
looks like your metadata.xml should contain sign logout url of Zendesk or you can update signout url of IAS when user clicks on logout - signout url will initate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks yoganandamuthaiah, but I don't think this is correct.
Since IAS is being used for Identity Authentication that's where the user is logged in, not Zendesk. Zendesk performs their own logout steps and then queries what they refer to as the "Remote logout URL"; the goal is to set this url such that it triggers a logout in IAS since that's where the user is logged in.
Most of the documentation I've seen suggests setting up a Corporate Identity Provider and using the logout url provided from the Corporate IdP; this makes sense since SAP IAS would be forwarding the Assertions to the Corporate IdP and thus that's where the user would be logged in. What I'm looking for is the equivalent logout url for when SAP IAS is being used for Identity Authentication, as is the case here.
My best guess so far is that either the "Single Logout Endpoint" of SAP IAS isn't fully SAML compliant and thus can't process the SAMLRequest parameter Zendesk is sending it to figure out how to logout the user or that there's another IAS endpoint that things need to get forwarded to so that the users session is closed in SAP IAS.
User | Count |
---|---|
93 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.