Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Basic Auth with AJAX



I am testing our HTML5 based web app in Ripple for BB10. When running through the browser, the app makes an AJAX call to a server URL. The server URL returns a 401 which causes the browser to display the username/pwd dialog. However, when running inside of Ripple, the basic auth dialog is not displayed. The console shows that the AJAX call ended with a 401 response (Unauthorized) which is correct. Is there a way to get Ripple (and the BB10 device) to popup the standard username/pwd dialog or do we have to code specifically for handing AJAX logon?