I am trying to open a webpage in the CefSharp browser control that requires Basic Authentication. I already have the Username / Password saved in my system, so I do not want to display a popup asking for the authentication - in other words I do not want to handle GetAuthCredentials as I do not need to ask the user for their details.
Is there any way to add an "Authorization" header into the headers of the Request that gets sent to CefSharp, before it hits the website? I have tried SetHeaders() in OnBeforeResourceLoad but it does not seem to work as I'm still receiving an Unauthorized response back from the website.
Any suggestions welcome!