【发布时间】:2012-12-07 03:07:42
【问题描述】:
我们如何在 phoneGap 视图中打开具有基本 Auth 的外部站点 URL?
super.loadUrl("https://google.com"); //it works
super.loadUrl("https://xyz.com"); //this site has Basic Auth, it's not working & it is not giving authentication challenge (popup for credentials)
我们如何传递凭据?目前我没有使用任何 phoneGap 功能,如果有任何其他方法可以继续,请告诉我。
【问题讨论】:
-
你想做什么?无论如何,我怀疑使用 HTTP 身份验证是一个好的解决方案!
标签: android cordova https android-webview basic-authentication