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 do I clear the browsers cache/state #393

Closed
MoSattler opened this issue Dec 28, 2022 · 4 comments
Closed

How do I clear the browsers cache/state #393

MoSattler opened this issue Dec 28, 2022 · 4 comments

Comments

@MoSattler
Copy link

MoSattler commented Dec 28, 2022

Which platform(s) does your issue occur on?

  • iOS 13.7 / Emulator

Please, provide the following version numbers that your issue occurs with:

  • CLI: 0.70.0

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it.

In our app, user's can log out. When they logout, we also want to log them out from the in-app browser.
Right now, after they log out from the app, and they open the browser, they are still logged in the browser.

Is there any function we can call to clear the browser cache, so we can clear everything upon logout?

@asdolo
Copy link

asdolo commented Jan 20, 2023

You can set ephemeralWebSession: true in the options params of openAuth, but it only works for iOS.

@fltonii
Copy link

fltonii commented Feb 9, 2023

Hmm, any way to do this in Android? I'm thinking of launching the browser on logout and calling an endpoint that clears the cookies, but that's pretty lame tbh. I'd much prefer to have a way to stash the cookies as the IAB closes.

@asdolo
Copy link

asdolo commented Feb 9, 2023

@MoSattler did you find a solution?

@MoSattler
Copy link
Author

MoSattler commented Feb 10, 2023

No, but I am not looking anymore

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

3 participants