Skip to main content
Inspiring
September 20, 2018
Question

Inject Authoriztion Header into WebView on Mobile

  • September 20, 2018
  • 0 replies
  • 285 views

I am using a RichWebView ANE by MyFlashLabs that is basically a StageWebView with a few extra features added.  I need to be able to inject a header into a WebView because I need to do HTTP Basic Authentication on a mobile device.  I do not want a user to have to enter a username and password into a login box(which I don't believe is support on mobile AIR anyway), but would much rather pass the username and password directly to my PHP file in an Authorization Header.  The problem is, I have no idea how to add an authorization header when opening a page in a WebView.  Any suggestions on things to try would be greatly appreciated!

Thanks!

This topic has been closed for replies.