fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 932 forks source link

HttpOnly cookies or request headers? #116

Open luigifaticoso opened 6 years ago

luigifaticoso commented 6 years ago

Hello, getting the cookies with javascript doesn't let me get all the cookies as i need them for the authentication, is there any other way to get the cookies or to get the http request headers? Thank you

UG commented 6 years ago

I have same problemn getting http only session Id , generated by framework. any how to access, response header parameter.

aicheung commented 6 years ago

Yes, I am also requesting the access of request and response headers in one of the event handlers too. We are doing SSO using the webview and the API token is in the header section in one of the AJAX call thus we need to access it otherwise SSO will not work.

mikuhl-dev commented 5 years ago

Need this.

hechengloong commented 5 years ago

Need this.

varpa89 commented 5 years ago

any news?

loshine commented 5 years ago

Need this too.

charafau commented 5 years ago

Ok, seems like we have some problems with cookies. This might be related - https://github.com/fluttercommunity/flutter_webview_plugin/pull/351 but I don't have anything to test it on so I need your help. If someone could contact me (on twitter / email for example) and help with this issue that would be perfect.

Thanks

zhongmeizhi commented 5 years ago

how to get cookie of httpOnly,怎么获取httpOnly的cookie,我也需要啊。

irineusturza commented 5 years ago

Hi, same problem here. header == null in ajax's calls