Page 1 of 1

prevent redirect

Posted: Mon Mar 03, 2025 10:41 am
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?

Re: prevent redirect

Posted: Mon Mar 03, 2025 2:11 pm
by salvadordf
Hi,

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