Credentials not passing domain name to web page

Credentials not passing domain name to web page

avatar

Hi,

when using credentials with domain name filled in for a WebBrowser session (with Basic authentication), domain name is not sent and authentication cannot be done.

Is there a workaround to solve this ?

Thanks

Olivier

All Comments (4)

avatar

Me Again,

what I did at the moment is to add the domain name in the username BUT if you add the domain like domain\user, the \ will cause problem to log in.
In order to bypass the \, i'm using : %5C, so now it looks like : domain%5Cuser and it works, unfortunately only with the Open Session (Embbeded/Tabbed) not with IE 9...

IE9 still opens but nothing happens.


Regards
edited by olivier.ghislain on 2/9/2012

avatar

Hi,
I think Microsoft has disabled the basic authentication in a security fix.

http://support.microsoft.com/kb/834489

For the \ problem, I will take care of this. I should url encode the name

David Hervieux

avatar

Hi,
I jsut saw that we have the checkbox "url encode credentials" next to the basic authentication textbox. Have you tried that?

David Hervieux

avatar

Hi David,

just tried the option "url encode credentials' which solves the / problem in url by transforming it into ASCII character.
It doesn't solve IE problem and doesn't pass domain unless you add it into username field.