When I navigate to a page that requires login credentials, a login dialog typically appears in a classic browser. I assume that the dialog has to be implemented when I use Cef4Delphi and assumed that the FOnShowPermissionPrompt event has to be implemented. However, this is not fired when the page is loaded. The page can therefore not be loaded. A corresponding message appears.
What have I overlooked?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
implement permission dialog
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: implement permission dialog
Hi,
Try using the TChromiumCore.OnGetAuthCredentials event to authenticate users.
TChromiumCore.OnShowPermissionPrompt is used to ask for permission to access the camera, mic, etc.
Try using the TChromiumCore.OnGetAuthCredentials event to authenticate users.
TChromiumCore.OnShowPermissionPrompt is used to ask for permission to access the camera, mic, etc.