-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Enable cookies in WebViews #3609
Comments
I'm planning on beginning work on this feature in the next week. |
How is it going? |
@leaanthony Unfortunately I haven't found the time to start work yet. |
Hi guys, I am trying to implement the authentication service https://clerk.com/ into the Wails but having the problem that the JWT is stored in the cookies... @leaanthony You may have better overview how other using the authentication services inside or in combination of Wails or perhaps how to temporarily monkey patch this issue. |
There's a chance it works already on Windows. There was someone who wanted to do a PR for this but I haven't heard back for a while. |
Moving (and linking) all cookie issues to #3908 |
Is your feature request related to a problem? Please describe.
I'd like to be able to grab cookies from an active WebView on all OSs.
Describe the solution you'd like
Adding a CookieManager object to manage cookies for a session. This would allow users to call
GetCookiesAsync
(or something of that sort) to retrieve cookies for a given URI, exposing them to the WebView.Describe alternatives you've considered
No response
Additional context
MacOS docs: https://developer.apple.com/documentation/webkit/wkwebsitedatastore#overview
Linux docs: https://webkitgtk.org/reference/webkit2gtk/2.24.2/WebKitCookieManager.html
Microsoft docs: https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2cookiemanager?view=webview2-winrt-1.0.2478.35
The text was updated successfully, but these errors were encountered: