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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

prevent redirect

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

prevent redirect

Post by dseh »

I use TCEFUrlRequestClientComponent.AddURLRequest to send a request, i.e. without a visual chromium component. In some cases this call redirects to a web dialog to change the password. Unfortunately this does not work with TCEFUrlRequestClientComponent. Apparently the redirect is sent directly without filling out the dialog? Is there a way to intercept the redirect, i.e. to get the URL in order to display the dialog in a TChromium?
User avatar
salvadordf
Posts: 4563
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: prevent redirect

Post by salvadordf »

Hi,

Try implementing the TCEFUrlRequestClientComponent.OnGetAuthCredentials event to authenticate the request.
Post Reply