-
Notifications
You must be signed in to change notification settings - Fork 689
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
Offer new event for session_unchanged #839
Comments
Could someone explain the difference between I am trying to implement something, to log user out from all tabs etc when they logout of the Identity Server. (This case triggers Scenario where a user has 2 or more angular app tabs open, and they log out of one - then the |
The As for the original request, it does make sense to add an event per the feature request, it should be quite easy to add: angular-oauth2-oidc/projects/lib/src/oauth-service.ts Lines 1242 to 1244 in 8d152c2
angular-oauth2-oidc/projects/lib/src/events.ts Lines 1 to 25 in 8d152c2
|
Would love something like this.
The foundation here is on OIDC. If the user refreshes the tab, it won't do How i intend to use this is to check |
In our web application we would like to execute further logic at the same time when a session check is done.
Inside the sessionCheckEventListener there are right now three cases that can happen during a session check: unchanged, changed or error.
For the last two cases there are events thrown like:
or
But for the unchanged case a simple debug message is printed out.
So I would like to request that there will be also an event thrown for the unchanged case to be able to subscribe to it and to add logic to be executed:
Thanks!
The text was updated successfully, but these errors were encountered: