OAuth: Authentication using embedded browser (EdgeWebBrowser or Chromium)

Hi! I'm testing the payments with FNC PayPal component and it works fine. However, is it possible to use the embedded browser like Chromium or EdgeWebBrowser for performing the authentication process?

Thanks!

Hi,

Right now this is not possible, we have applied some code changes in order to use the OnBeforeRunExternalBrowser. The code you can use (after applying the incremental fix), is

procedure TForm1.DoBeforeRunExternalBrowser(Sender: TObject; var AURL: string;
  var ACanRun: Boolean);
begin
  ACanRun := False;
  TMSFNCWebBrowser1.URL := AUrl;
end;

Please note that most services require a secure environment. Embedded browsers are unfortunately not secure and can therefore cause issues with the authentication process in the future.