[webkit-gtk] headless problem with http auth dialog

Emmanuel Rodriguez emmanuel.rodriguez at gmail.com
Wed Apr 17 22:43:44 PDT 2013


On 17 April 2013 23:23, Jérémy Lal <kapouer at melix.org> wrote:

> Hi,
> is it possible to disable webkit-gtk default http auth dialog ?
>
In WebKit1 yes you can, I haven't tried WebKit2.
The HTTP authentication dialog is implemented as a Soup feature [1].


> also, is it possible to handle http auth without user interaction ?
>
You can disable the default one and provide your own. You need to get a
handle to the default Soup session and connect a callback to the signal '
authenticate'. [2]

I hope that it helps.

[1]
http://webkitgtk.org/reference/webkitgtk/stable/WebKitSoupAuthDialog.html
[2] https://github.com/potyl/Webkit/blob/master/screenshot.pl#L102

-- 
Emmanuel Rodriguez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20130418/01aea37d/attachment.html>


More information about the webkit-gtk mailing list