2

I would like to create a hosted web app in Cordova. However, in my case, the hosted web app is behind a Basic Authentication.

How do I make the hosted web app to appear in Cordova client as if it wasn't behind a Basic Auth? Or how do I add the Basic Auth header all requests from Cordova Client?

Thanks!

Karlo Medallo
  • 672
  • 7
  • 17
  • As far as I know, there is no such setting in Cordova. – Elvis Xia - MSFT Jul 05 '16 at 09:12
  • This seems like a duplicate of: http://stackoverflow.com/questions/2716990/http-basic-authentication-credentials-passed-in-url-and-encryption – Linda Z Jul 22 '16 at 15:31
  • @Linda Z, I don't think my question is a duplicate of what you've mentioned. Not all browser works with user:pass in url. I'm asking for http header using basic auth. Furthermore, my question is very Cordova specific – Karlo Medallo Jul 23 '16 at 02:18

0 Answers0