[IdP] IDP - Not able to redirect to Application page after SSO logout

Forge Component
Published on 5 Jun by Leonardo Fernandes
43 votes
Published on 5 Jun by Leonardo Fernandes

Hello All,

We are successfully able to login to SSO ( IDP with Azure integration), but facing the problem with logout.I am calling IDP_SingleLogoutURL and then externalURL.

After Debugging in IDP, we are able to execute below flow successfully  :

From Application -> IDP_SingleLogoutURL and then externalURL. -SUCCESS

From IDP - https://login.microsoftonline.com/IdP/oauth2/logout -->executes DoSLOLogout.aspx -SUCCESS

From IDP - Internally it calls /IdP/SLO.aspx -- > executes SamlSLO.aspx - Not receiving proper url at the end

Now In the preparation of SamlSLO.aspx - we are able to reach till URL Assignment but that URL contains something like this -

URL ="https://login.microsoftonline.com/IdP/oauth2/logout?SAMLRequest=......"

However, we need last redirected URL to be Login page of our application.

Please suggest what needs to be the value for Logout URL and Single Logout Response URL because the Last redirected URL is based on these values.



Hi Vani,

The SLO that you configured in the IdP connector it's https://login.microsoftonline.com/IdP/oauth2/logout?

Just to confirm if that's the correct URL, since it seems that's the logout URL for oauth2 protocol and not for SAML 2.0.

And since just the fact that you are reaching that code above in the screenshot means that azure sent to IdP a logoutRequest message, and should be a LogoutResponse message.