Automatically Signout all active clients in Identity server once logout of any client

心不动则不痛 提交于 2019-12-12 04:34:00

问题


I'm using Identity Server 3 for Single Sign on and I'm having 3 client application. Once I logged in any of the Client application, the rest of the two applications, won't ask the Authenticate credentials.

Its working fine in Log-in but in Signout the current Client gets logged out but the rest of the two applications not automatically redirecting to the log-in page of Identity Server.

Kindly assist me in this regards.


回答1:


Since you said in the comments that your client is a JavaScript client, you can use the oidc-client-js lib from the guys behind IdentityServer. It has an event userSignedOut which should fire when the user is signed out from a different client.



来源:https://stackoverflow.com/questions/43766353/automatically-signout-all-active-clients-in-identity-server-once-logout-of-any-c

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