Automatically Signout all active clients in Identi

2019-06-14 12:05发布

问题:

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.