I had an issue with the WebClient of the Sphinx Simple Demo. I changed this in WebCore to resolve my issue.
Scott
//2023-09-15 sdm: match sphinx working version 20006
// project: TMS WEB Core RSXE14/Core Source
// file: WEBLib.forms.pas
// original line: 4298
if Assigned(OnOAuthToken) then
begin
// there is a code callback
if (FParameters.IndexOfName('code') <> -1) and HandleOAuth then
begin
// if Assigned(OnOAuthToken) then
OnOauthToken(Self, query);
FIsRedirect := true;
token := FParameters.Values['code'];
asm
if (window.opener && window.opener.processAuthData){
window.opener.processAuthData(token);
window.close();
}
end;
end;
end;