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

Sharing cookies between WebView and http package. #172

Open
manujbahl opened this issue Aug 22, 2018 · 3 comments
Open

Sharing cookies between WebView and http package. #172

manujbahl opened this issue Aug 22, 2018 · 3 comments

Comments

@manujbahl
Copy link

Is there a way to share cookies between webview and the http package.
I am doing a login via the webview and want to use the auth cookie to make api calls using the http package. How can the http.get use cookies from webview.

@manujbahl
Copy link
Author

I am looking for something that replicates the "credentials : = include" behavior as described in the fetch documentation (https://github.github.io/fetch/)

@KJethani
Copy link

KJethani commented Sep 5, 2018

I'm looking for something similar. When I try the getCookies() method or evalJavascript('document.cookie') why do I get an empty string? Can someone help with this?

@mikuhl-dev
Copy link

Wow there's no way to do auth currently without having your users type in their credentials in-app instead of webview?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants