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?
implement permission dialog
- salvadordf
- Posts: 4089
- 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.