Enable Single Logout in WSO2 Identity server and redirect to custom login page

眉间皱痕 提交于 2020-04-30 07:12:45

问题


I am using WSO2-IS 5.3.0. I have configured many service provider and SAML SSO is working as expected. But when it comes to Logout, One functionality is working fine. It means it redirects me to a common logout page after an invaliding session.

Here, I have one case, I have one service provider for it, I need to perform single logout but it should redirect to my custom login page. Though IS providing the option to configure return URL(SLO Response URL) you can see in the below screenshot. I have done that but still its redirects to the common logout page.

Do I need any other configuration too?


回答1:


You are performing an IdP initiated SLO as per the given request URL. In that case, you can use the returnTo parameter in that request to redirect the response.

So set the SLO response URL to return to URL of the Enable IdP initiated SLO config. Sample request would be as follow.

https://localhost:9443/samlsso?slo=true&spEntityID=travelocity.com&returnTo=https://localhost:8080/avs.com/slo

But, you might have to define the SP specific parameters in the request.

Reference : http://daytodayjava.blogspot.com/2015/08/saml2-idp-initiated-single-logout-with.html



来源:https://stackoverflow.com/questions/61143043/enable-single-logout-in-wso2-identity-server-and-redirect-to-custom-login-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!