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

[Question]: Custom logic after login/logout #1886

Open
ValentinKrigovsky opened this issue Jan 6, 2024 · 1 comment
Open

[Question]: Custom logic after login/logout #1886

ValentinKrigovsky opened this issue Jan 6, 2024 · 1 comment
Labels

Comments

@ValentinKrigovsky
Copy link

What Version of the library are you using?
15.0.3
Question
Is there a way to catch Login/logout event in the code and perform custom logic after? (i want to clear some values in local storage)
In login my problem is, that i cannot distinguish autologin from the actual login (mail, password) and i want to only catch event after 'actual login'
With logout, I would like to catch event when you are logged out automatically(not triggered by user) and perform same logic as i have after classic logout on button click
Thank you

@ValentinKrigovsky
Copy link
Author

@FabianGosebrink Could you help me with this please?

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

No branches or pull requests

1 participant