Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement the logout on server and client ? #7

Open
Dahkenangnon opened this issue Oct 5, 2020 · 2 comments
Open

How to implement the logout on server and client ? #7

Dahkenangnon opened this issue Oct 5, 2020 · 2 comments
Labels
enhancement New feature or request query

Comments

@Dahkenangnon
Copy link

Thank for your work very useful

Can you explain more or give me some code to show how can i implement the logout feature on consumer and on the server ?

Thank for you reply

@ankur-anand ankur-anand added wontfix This will not be worked on enhancement New feature or request query and removed wontfix This will not be worked on labels Oct 6, 2020
@ankur-anand
Copy link
Owner

Hi @Dahkenangnon,

There are various ways this can be done. But first as there would be potentially many active application sessions during a SSO-Session, So there need to be clear distinction between scope of the logout.

  1. Just end the current application session
  2. End all application session.

First application scenario should not have effect on any other application or global sso server, so that can be simple invalidating the cookies or token of that application.

But in second scenario you will need some kind of mechanism that can notify each of the active application to end session for particular user from global sso server. This can be achieved using the some broker or webhook mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request query
Projects
None yet
Development

No branches or pull requests

3 participants
@ankur-anand @Dahkenangnon and others