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

Delete or block a session from a previous session #448

Closed
zvitek opened this issue Dec 31, 2023 · 4 comments
Closed

Delete or block a session from a previous session #448

zvitek opened this issue Dec 31, 2023 · 4 comments

Comments

@zvitek
Copy link

zvitek commented Dec 31, 2023

Hi, is there please an option to delete or not save a session withinopenAuth?
I can log into the app under multiple accounts, but when I want to enter another one, the original session exists and I can't log in.
I triedcloseAuth but no change.

Thank you

@krini
Copy link

krini commented Jan 3, 2024

I didn't find a solution to get rid of the old session - but you can invalidate it yourself when logging out,

@zvitek
Copy link
Author

zvitek commented Jan 5, 2024

What exactly do you mean? When I log in, the browser window closes and I can't log out without reopening the browser.

@krini
Copy link

krini commented Jan 5, 2024

yes, that is also what I mean. In webview the token is gone when you reopen it, and this is also the case for openAuth on iOS, however android remembers the data and you need to invalidate your token. Maybe you can invalidate it by calling the logout of your identity provider, or you need to reopen openAuth and invalidate the token in there.

@zvitek
Copy link
Author

zvitek commented Jan 6, 2024

Ok, I'll try a similar workaround, even though I don't really like it :)
It is interesting that such a basic function as clear is missing.

Thank you!

@zvitek zvitek closed this as completed Jan 6, 2024
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

2 participants