I had to build OAuth2 with one site using only Authorization flow and the 
backend doesn't allow using cURL or HTTP Client commands (well ,they can't 
forbid it, but it is not working because of their coding).

I have a form displayed in Web Area which I must submit using click() on the 
button, if I use submit() the backend return "Access denied" error.

So, on my Mac the following code:

$test:=WA Evaluate 
JavaScript(*;"MY_WA";"document.getElementsByTagName('button')[0].value";Is text)

If ($test="yes")

    $js:="document.getElementsByTagName('button')[0].click();"
    $result:=WA Evaluate JavaScript(*;"MY_WA";$js)

End if

is working perfectly, but the second call performing the click on the button is 
not on the client computer and their server. Even manually clicking on that 
button in Web Area is not working.

This is in 32-bit v17.2, macOS Mojave with latest updates on all computers, we 
installed the updates to bring the computers to same builds and Safari 13.0.2.

Any ideas why could this happen?

Milan

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to