Identityserver4: Logout user from all active sessions

Created on 8 Dec 2017  路  4Comments  路  Source: IdentityServer/IdentityServer4

This may be shamefully simple question to ask but I do not know where to start.

Suppose I have MVC application and utilized Identityserver4. From some external, unrelated application authorized user is locked (maybe status changed in db)

The question is, how do I manage to immediately force user logout from all the browsers he may currently be logged in?

In ideal solution, I suppose there should be a way I let IdentityServer know that user was locked out somewhere else and then server would push some kind of notification to all its clients, thus invalidating session. I could theoretically check user status with every request at identityserver but I think that would incur performance charges.

Any suggestion would be great.

Most helpful comment

Can you direct us to the appropriate part of the documentation perhaps? I've read the docs on sign out and this doesn't seem to be covered.

All 4 comments

This seems to be a general question about IdentityServer - not a bug report or an issue.

Please use one of the our free or commercial support options

See here for more details.

Thanks!

Can you direct us to the appropriate part of the documentation perhaps? I've read the docs on sign out and this doesn't seem to be covered.

Link is broken and also signout title does not have any example code.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

createroftheearth picture createroftheearth  路  3Comments

chrisrestall picture chrisrestall  路  3Comments

osmankibar picture osmankibar  路  3Comments

leksim picture leksim  路  3Comments

user1336 picture user1336  路  3Comments