Cef Display the login/password page

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Cef Display the login/password page

Postby Maksimmkv » Tue Aug 03, 2021 2:26 pm

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#
Maksimmkv
Newbie
 
Posts: 3
Joined: Tue Aug 03, 2021 2:19 pm

Re: Cef Display the login/password page

Postby amaitland » Thu Aug 05, 2021 9:26 pm

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.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1011
Joined: Wed Jan 14, 2015 2:35 am

Re: Cef Display the login/password page

Postby Maksimmkv » Sat Aug 07, 2021 11:31 am

Thanks, I just added a line during initialization and everything worked out. WebBrowser.RequestHandler = new CustomRequestHandler(); :D :D :D
Maksimmkv
Newbie
 
Posts: 3
Joined: Tue Aug 03, 2021 2:19 pm


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 1 guest