Bug 3689

WebBrowser control and Basic Authentication 22 November, 2020

René Ullrich
26 November, 2019
Product: PowerBuilder Category: Controls & UI
Version: 2019 R2 Beta Build:
Classification: Enhancement Publishing: Public
Priority: P3
Status: Transferring Reason:
Zhao Kai @Appeon 22 November, 2020
Hi Chris,

Thanks for the information. We had escalated this problem to our development team for considering.

Chris Pollach @Appeon 20 November, 2020
Hi Everyone;

  Just an FYI .... some other customers are now requiring this feature and cannot proceed to use the Web Browser Control until René's request is implemented. 

Regards ... Chris
Zhao Kai @Appeon 20 November, 2020
Hi René,

It is does not support to specify the credentials automatically. we will record it as a requirement in our CR pool, I will get back to you once we have a plan to support this feature.

René Ullrich 20 November, 2020
With PB 2019 R3 Beta now the basic authentication is supported with a login window. But I'm still missing a way to specify the credentials automatically.
Tom Jiang @Appeon 18 February, 2020
Hi René,

Thanks very much for providing the test case. I've passed it to our development. We will keep you updated on the progress! 


Tom Jiang
René Ullrich 18 February, 2020
WebBrowser.zip (7KB)

Hi Tom,
find attached a very simple (!) test application. You may simply start it and use the "Start" button to call https://jigsaw.w3.org/HTTP/Basic/. This site requires basic authentication. (Username and password: guest / guest).

You may also find an example that requires digest authentication on https://jigsaw.w3.org.

The control should be able to specify credentials by script and to ask for credentials. It should also be able to cache credentials so further requests don't ask again for it.

Tom Jiang @Appeon 18 February, 2020
Hi René,

I am sorry that we currently don't have a workaround for this issue. But our development team is analyzing for a solution. Could you provide a sample test case for this issue to help them on their research into this issue? Thanks in advance!


Tom Jiang
René Ullrich 27 November, 2019
Hi Tom,
Thank you very much.

Do you have a workaround? 

For Microsoft Webbrowser ActiveX it was possible to do a request using the Microsoft XML ActiveX and specify the credentials in the request header. It seems that credentials were cached so the WebBrowser ActiveX used this.
This Workaround seems not to work with you WebBrowser control. Maybe it is based on a different internet stack. But maybe there is another workaround?

Tom Jiang @Appeon 27 November, 2019
Hi René,

Thanks for your suggestion! We will transfer this ticket to our product team to analyze and decide whether and when they can provide a solution for this enhancement request. 


Tom Jiang
Chris Pollach @Appeon 26 November, 2019
Hi René;

   The Web Control does not handle HTTP authentication in its current form. Thank you though for your valuable feature suggestion! This would be an an enhancement to the existing control.

   I will now transfer this ticket over to the main Support / Engineering team for their review & feedback.

Regards ... Chris
René Ullrich 26 November, 2019
I want to access a website that requires Basic Authentication using the new WebBrowser control.
I found now way to specify the authentication credentials for the request.

I think there could be an event that is fired when credentials are needed.
A way to modify the request header is another way but may be problematic if the webpages starts more downloads that also requires an authentication.
Credentials should be cached for further requests for some time.

*Reproduce Steps:
Try to access the test page https://jigsaw.w3.org/HTTP/Basic/ using WebBrowser control. Username / password is guest / guest.

There should be also solutions for other authentication methods.
Database Type:
Database Version: