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

Catch sign out event or redirect to ssop event #546

Open
ValentinKrigovsky opened this issue Mar 11, 2024 · 0 comments
Open

Catch sign out event or redirect to ssop event #546

ValentinKrigovsky opened this issue Mar 11, 2024 · 0 comments

Comments

@ValentinKrigovsky
Copy link

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search for issues before submitting
- [x ] feature request

Versions.

"keycloak-angular": "^15.1.0",
"keycloak-js": "^23.0.7",
 angular 17

Repro steps.

Sign in to app, close browser, open app again after refrsh token lifetime, get signed out automatically. Can this event be caught?

Desired functionality.

I would like to be able to catch event when user is logged out, because i am storing some additional data like tenant in local storage, but i want to have it cleared on signing in again, but because there is no way to catch this event, i am unable to do so), i tried keycloak events in before keycloak-init, but none is triggered in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant