-
Notifications
You must be signed in to change notification settings - Fork 396
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
Feature CORS Proxy #227
Comments
Interesting, can you ignore certificate errors if the proxyUrl uses a self signed certificate? As Android ALSO now uses a built in webserver could a similar approach be implemented for Android? Otherwise we will end up with diverging code for different platforms. |
Hello @ghenry22
|
@troyanskiy that would be very interesting to me, one of my apps is a client for self hosted media server which uses a self signed certificate, used to be able to work around it with uiwebview with the certificate plugin but have been stuck with irritated users since wkwebview as I couldn't find a way to allow the app to connect even though this is a very valid usecase. |
@ghenry22 I've just implemented ssl pining feature for the proxy To update plugin:
|
Hello @mlynch |
I have added one more thing to clear cookies on app start. Add an attribute with value |
I have added one more thing is a possibility to check SSL in the chain in order to check your intermediate certificate. |
This PR does this to some degree for iOS: #448 |
Hello all.
I have implemented something like proxy for iOS wkwebview.
It works exactly the same way as
ionic server
with proxies does.I need your help in order to test the feature.
Installation:
Add proxies list:
That need to be added into the
config.xml
For future releases and if people will need that i'm planing also implement ssl pinning on the proxy requests, add capacitor support (will need to check that) and maybe something else.
If you will find any bug related to the proxy feel free to open an issue here https://github.com/troyanskiy/cordova-plugin-ionic-webview/issues
Thanks!
The text was updated successfully, but these errors were encountered: