Kentor/Sustainsys redirects back to SP after receiving LogoutResponse from IDP

664 Views Asked by At

In my application Kentor v.21 single logout works fine for different IDP-s. However one particular IDP after logging out sends the LogoutResponse back to SP. In SP log I see the line: Received logout response _9b1700c5-6f58-43aa-8b63-a2a4ad6fa3f2, redirecting to https://mysp.url/home/ . I am not sure where does this URL come from, but in the result, the user gets logged back into the SP app. Is there a way to configure it on SP side to redirect to some other page?

1

There are 1 best solutions below

2
Anders Abel On

After the logout response is received, a redirect is done to the URL specified when initiating the logout (through authprops or query string). And if none was specified, the default return url from the config is used.

You can also intercept and alter the redirect location by overriding the LogoutCommandResultCreated notification and alter the Location property on the CommandResult