I am very new to Tauri and just started my first project where I want to authenticate users with Firebase using Google as the auth provider. That works fine, however when the user tries to sign out of the app, the browser (or the webview in this case) keeps them logged in to Google using cookies. From what I read here https://stackoverflow.com/questions/42312758/when-users-signout-of-my-firebase-app-why-doesnt-it-also-signout-from-the-auth/59744590#59744590 this is the intended behavior.
So my question is: is there anyway that I delete the cookies from the webview so that the app forgets the user? I found that webview2_com_sys has a ICoreWebView2CookieManager struct with a method to delete cookies but I'm not sure how to access it.
#How to delete cookies from webview
2 messages · Page 1 of 1 (latest)