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

Post Reply
dseh
Posts: 10
Joined: Thu Sep 23, 2021 8:22 am

implement permission dialog

Post by dseh »

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?
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: implement permission dialog

Post by salvadordf »

Hi,

Try using the TChromiumCore.OnGetAuthCredentials event to authenticate users.

TChromiumCore.OnShowPermissionPrompt is used to ask for permission to access the camera, mic, etc.
Post Reply