Page 1 of 1

Cef Display the login/password page

PostPosted: Tue Aug 03, 2021 2:26 pm
by Maksimmkv
Hi everyone. The login and password form does not appear, but immediately issues an authentication error. Tried to do through the GetAuthCredentials, but failed (

An example of a site is https://jigsaw.w3.org/HTTP/Basic/, or you can enter the settings of the router 192.168.1.1. Using cefsharp 71.0.0, C#

Re: Cef Display the login/password page

PostPosted: Thu Aug 05, 2021 9:26 pm
by amaitland
You can easily adapt the example at https://github.com/cefsharp/CefSharp/wi ... entication

Version 71 is no longer supported, you will need to upgrade to use the example.

Re: Cef Display the login/password page

PostPosted: Sat Aug 07, 2021 11:31 am
by Maksimmkv
Thanks, I just added a line during initialization and everything worked out. WebBrowser.RequestHandler = new CustomRequestHandler(); :D :D :D