Quantcast
Channel: Foren
Viewing all articles
Browse latest Browse all 170

XDK and basic HTTP Authentication in URL from iframe

$
0
0

I can not get authorization. error: 401 Authorization Required

Please help.

Example

<!DOCTYPE html><html><head><title></title><meta http-equiv="Content-type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"><link rel="stylesheet" href="css/app.css"></head><body><script src="intelxdk.js"></script>         <!-- phantom library, needed for XDK api calls --><script src="cordova.js"></script>          <!-- phantom library, needed for Cordova api calls --><script src="xhr.js"></script>              <!-- phantom library, needed for XDK CORS --><script src="js/app.js"></script>           <!-- for your event code, see README and file comments for details --><script src="js/init-app.js"></script>      <!-- for your init code, see README and file comments for details --><script src="xdk/init-dev.js"></script>     <!-- normalizes device and document ready events, see README for details --><iframe src="http://user:pass@example.com" width="100%" height="100" scrolling="yes"></iframe></body></html>

 


Viewing all articles
Browse latest Browse all 170

Trending Articles