-
-
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
Cookies Support #3908
Comments
Managing Cookies from the Go-Side should be possible on all platforms. I've already added some preliminary support in a v3 branch. |
I think the main challenge here is to make the cookies work in the browser/web-view. The most of the authentication services like https://clerk.com/, https://workos.com/,.. are storing authentication tokens in the cookies therefore they does not work in the Wails. |
It's true, a lot of the JS libraries that use cookies try and set them on the browser side directly. The lack of upstream support for cookies or cookies over custom schemes is frustrating. I'm not sure how to resolve that right now but am open to suggestions. |
I’m not sure how much you can tap into the WebView events, but if you’re able to intercept the get and set cookie calls, we could monkey-patch that by using localStorage in the background. However, the browser call would still be for cookies. |
Isn't cookie manipulation done via setting |
We would like to support cookies but this will require support for cookies over custom protocols in the upstream projects.
Related tickets:
The text was updated successfully, but these errors were encountered: